@import url("https://fonts.googleapis.com/css2?family=Borel&family=Cormorant:wght@500;600;700&family=Great+Vibes&family=Handlee&family=Newsreader:ital,wght@0,400;0,600;1,400&family=Nunito+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap");

/* fonts and tokens */
@media all {
/* Fonts and shared preference tokens. */
@font-face {
  font-family: Gadey;
  src: url("/assets/fonts/Gadey.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Caveat;
  src: url("/assets/Caveat.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: light;
  --page: #f8f9fa;
  --page-height: 100svh;
  --visible-height: 100dvh;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --bar-item-height: 36px;
  --bar-height: calc(var(--bar-item-height) + var(--space-8) + 2 * var(--stroke));
  --bar-clearance-top: calc(20px + var(--safe-top) + var(--bar-height) + var(--space-24));
  --bar-clearance-bottom: calc(var(--safe-bottom) + var(--bar-height) + var(--space-32));
  --surface: #ffffff;
  --surface-alt: #eef1f6;
  --surface-layer: color-mix(in srgb, var(--surface-alt) 28%, color-mix(in srgb, var(--surface) 82%, transparent));
  --surface-raised: var(--surface);
  --card-surface: var(--surface-raised);
  --chrome-surface: color-mix(in srgb, var(--surface) 82%, transparent);
  --text-dark: #11181c;
  --text-medium: #687076;
  --text-light: #a2a9af;
  --line: #dce2eb;
  --line-strong: #a4afbf;
  --accent: #006edc;
  --accent-soft: color-mix(in srgb, var(--accent) 9%, var(--surface));
  --on-accent: #ffffff;
  --on-sky: #ece8df;
  --success: #247045;
  --warning: #875800;
  --danger: #e02c43;
  --pink: #ac337b;
  --violet: #7251b5;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --font-display: Cormorant, Georgia, serif;
  --font-reading: Newsreader, Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-brand: Gadey, "Arial Black", sans-serif;
  --font-hand: Caveat, cursive;
  --font-resume-section: var(--font-mono);
  --font-signature: "Great Vibes", cursive;
  --text-scale: 1;
  --spacing-scale: 1;
  --space-8: calc(0.5rem * var(--spacing-scale));
  --space-16: calc(1rem * var(--spacing-scale));
  --space-24: calc(1.5rem * var(--spacing-scale));
  --space-32: calc(2rem * var(--spacing-scale));
  --space-64: calc(4rem * var(--spacing-scale));
  --space-96: calc(6rem * var(--spacing-scale));
  --space-128: calc(8rem * var(--spacing-scale));
  --text-xs: calc(0.75rem * var(--text-scale));
  --text-sm: calc(0.875rem * var(--text-scale));
  --text-md: calc(1rem * var(--text-scale));
  --text-lg: calc(1.125rem * var(--text-scale));
  --text-xl: calc(1.5rem * var(--text-scale));
  --text-2xl: calc(2rem * var(--text-scale));
  --text-3xl: calc(3rem * var(--text-scale));
  --text-hero: calc(clamp(2.6rem, 8vw, 6.5rem) * var(--text-scale));
  --radius-sm: 0.75rem;
  --radius-md: 1.5rem;
  --radius-lg: 1rem;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 6px #18223308;
  --shadow-md: 0 14px 44px #18223320;
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --measure-prose: 65ch;
  --measure-page: 76rem;
  --leading-body: 1.6;
  --leading-ui: 1.35;
  --leading-heading: 1.12;
  --weight-body: 400;
  --weight-strong: 600;
  --tracking-heading: -0.025em;
  --tracking-label: 0.025em;
  --target: 2.75rem;
  --stroke: 1px;
  --stroke-control: 2px;
  --radius-container: 2rem;
  --radius-popup: 0.25rem;
  --radius-toast: 0.375rem;
  --gem-brightness: 1.32;
  --gem-saturation: 1.5;
  --shadow-raised: 0 2px 3px #11181c14, 0 6px 14px #11181c0a;
  --shadow-surface: inset 0 1px 0 rgb(255 255 255 / .22), inset 0 -1px 0 rgb(0 0 0 / .09), 0 0 0 1px color-mix(in srgb, var(--surface) 55%, transparent), 0 8px 32px 10px rgb(0 0 0 / .22);
  --shadow-card: var(--shadow-raised);
  --slider-blue: #315bd6;
  --icon: 1.2em;
}
[data-theme="dark"] {
  color-scheme: dark;
  --page: #0c0d0f;
  --surface: #121315;
  --surface-alt: #1b1d20;
  --text-dark: #edf2fa;
  --text-medium: #a6afb9;
  --text-light: #727c87;
  --line: #303236;
  --line-strong: #6d7076;
  --surface-raised: color-mix(in srgb, var(--surface) 96%, var(--text-dark));
  --shadow-card: inset 0 1px 0 rgb(255 255 255 / .18), 0 0 0 1px rgb(255 255 255 / .06), 0 2px 6px rgb(0 0 0 / .4);
  --accent: #0a84ff;
  --on-accent: #101d42;
  --success: #8bdbac;
  --warning: #f5c775;
  --danger: #ffabb7;
  --pink: #f0a1d1;
  --violet: #c6b0fa;
}
[data-text-size="small"] {
  --text-scale: 0.92;
}
[data-text-size="large"] {
  --text-scale: 1.12;
}
[data-density="small"] {
  --spacing-scale: 0.75;
}
[data-density="large"] {
  --spacing-scale: 1.3;
}
[data-corners="sharp"] {
  --radius-sm: 0.2rem;
  --radius-md: 0.3rem;
  --radius-lg: 0.4rem;
  --radius-pill: 0.4rem;
}
[data-corners="round"] {
  --radius-sm: 0.8rem;
  --radius-md: 1.2rem;
  --radius-lg: 1.75rem;
}
[data-accent="rose"] {
  --accent: #d70015;
}
[data-accent="green"] {
  --accent: #16823f;
}
[data-accent="violet"] {
  --accent: #8a33c7;
}
[data-accent="amber"] {
  --accent: #8a5b00;
  --on-accent: #11181c;
}
[data-accent="blue"] {
  --accent: #006edc;
}
[data-theme="dark"][data-accent="rose"] {
  --accent: #ff6259;
}
[data-theme="dark"][data-accent="green"] {
  --accent: #30d158;
}
[data-theme="dark"][data-accent="violet"] {
  --accent: #bf5af2;
}
[data-theme="dark"][data-accent="amber"] {
  --accent: #ffd60a;
  --on-accent: #11181c;
}
[data-theme="dark"][data-accent="blue"] {
  --accent: #0a84ff;
}

}


/* foundation */
@media all {
/* Foundation and typography. */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--text-dark);
  font: var(--weight-body) var(--text-md)/var(--leading-body) var(--font-body);
  overflow-wrap: anywhere;
}
[hidden] {
  display: none !important;
}
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote {
  margin: 0;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-strong);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
}
h1 {
  font-size: var(--text-3xl);
}
h2 {
  font-size: var(--text-2xl);
}
h3 {
  font-size: var(--text-xl);
}
h4 {
  font-size: var(--text-lg);
}
a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 0.12em;
}
a.story-link, a.story-link:visited, a.story-link:hover {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: currentColor;
}
a.story-link::after {
  content: "↗";
  display: inline-block;
  margin-left: 0.2em;
  text-decoration: none;
}
button, input, textarea, select {
  font: inherit;
}
button, select, summary {
  cursor: pointer;
}
button, a, input, textarea, select, summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
::selection {
  color: var(--on-accent);
  background: var(--accent);
}
img, video, svg {
  max-width: 100%;
}
img {
  display: block;
}
svg.icon, button svg, summary svg {
  width: var(--icon);
  height: var(--icon);
  flex-shrink: 0;
  vertical-align: middle;
}
code, pre {
  font: var(--text-sm)/var(--leading-body) var(--font-mono);
}
code {
  padding: var(--space-8) var(--space-8);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
}
pre {
  overflow: auto;
  padding: var(--space-16);
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
}
pre code {
  padding: 0;
}
.text-medium {
  color: var(--text-medium);
}
.text-light {
  color: var(--text-light);
}
.eyebrow {
  color: var(--text-medium);
  font: 700 var(--text-xs)/var(--leading-ui) var(--font-mono);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}
.field-help, .card-meta {
  color: var(--text-medium);
  font-size: var(--text-sm);
}
.brand-title {
  font: var(--text-hero)/1 var(--font-brand);
  letter-spacing: -0.03em;
}
.page-title {
  font-size: var(--text-3xl);
}
.page-wordmark {
  font-family: var(--font-brand);
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.wordmark-i { display: inline-block; position: relative; line-height: 1; }
.wordmark-i-stem { display: block; clip-path: inset(30% 0 0); }
.wordmark-i-gem {
  position: absolute;
  top: .0545em;
  left: -.03em;
  width: .257em;
  height: .257em;
  pointer-events: none;
}
.wordmark-i-gem[data-gem] > svg { filter: none; }

}


/* layout and headings */
@media all {
/* Shared layout and page headings. */
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-16);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: var(--space-24);
  align-items: start;
}
.grid--two {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}
.grid--three {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.grid > *, .row > *, .stack > * {
  min-width: 0;
}
.divider {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  color: inherit;
  font: 700 var(--text-sm)/var(--leading-ui) var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  border-top: var(--stroke) solid color-mix(in srgb, currentColor 30%, transparent);
}
.site-main {
  width: 100%;
  max-width: var(--measure-page);
  margin-inline: auto;
  padding: calc(var(--bar-clearance-top) + var(--space-32)) var(--space-24) var(--space-64);
  color: var(--on-sky);
}
.page-heading-page {
  padding-top: calc(var(--bar-clearance-top) + var(--space-32));
}
.month-group, .explore-section {
  display: grid;
  gap: var(--space-24);
  margin-top: var(--space-64);
}
.on-sky {
  color: var(--on-sky);
}
.card, .document-sheet {
  color: var(--text-dark);
}
.page-heading-wrap {
  display: flex;
  justify-content: center;
  padding-block: var(--space-32) var(--space-64);
}
.page-heading {
  font: 400 var(--text-hero)/1 var(--font-brand);
  letter-spacing: 0;
  text-align: center;
}
.page-pills {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  overflow-x: auto;
  width: 100%;
  padding: var(--space-8);
  scrollbar-width: none;
}
.page-pills > * {
  flex: none;
}
.page-pills > :first-child {
  margin-left: auto;
}
.page-pills > :last-child {
  margin-right: auto;
}
.stack-tight, .stack-loose {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.stack-loose {
  gap: var(--space-32);
}
.row-tight, .row-loose {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8);
}
.row-loose {
  gap: var(--space-32);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: var(--space-24);
}
.surface {
  padding: var(--space-32);
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius-container);
  background: var(--surface-layer);
  backdrop-filter: blur(5px) saturate(1.4);
  box-shadow: var(--shadow-surface);
}
.surface-heading {
  font-size: var(--text-xl);
}
.card-heading {
  font-size: var(--text-lg);
}
.card-clickable {
  text-decoration: none;
}
.sec-head {
  display: grid;
  gap: var(--space-16);
}
.sec-title {
  font-size: var(--text-2xl);
}
.section-caption {
  color: var(--text-medium);
}
.visually-hidden, .ftr-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
body > main, .site-footer {
  isolation: isolate;
  z-index: 0;
}
html.nav-locked, html.social-locked, html.social-locked body {
  overflow: hidden;
}

}


/* sky */
@media all {
/* Site-owned depth, aurora, star and meteor presentation. */
html[data-sky] {
  background: transparent;
}
html[data-sky] body {
  background-color: #050508;
  background-image: url('/assets/sky-near.svg'), radial-gradient(ellipse at 12% 0%, #3dffb033, transparent 60%), radial-gradient(ellipse at 88% 12%, #a06eff38, transparent 65%), linear-gradient(142deg, transparent 30%, #7e8ec60f 50%, transparent 70%);
  background-size: 512px 1024px, 100% 1100px, 100% 1500px, 100% 1800px;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
}
html[data-sky] body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('/assets/sky-far.svg') repeat;
}
html[data-sky-built] body { background-image: none; }
html[data-sky-built] body::before { display: none; }
html[data-sky] {
  --aurora-1: 61 255 176; --aurora-2: 80 220 255; --aurora-3: 160 110 255;

  --sky-ink: var(--on-sky);
}


#stars { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: clip; }
#sky-scene { position: absolute; top: -100px; left: 0; right: 0; height: calc(100lvh + 200px); background: radial-gradient(circle at 72% 18%, #0d0d16, #050508 55%); }

#sky-scene::before { content: ""; position: absolute; inset: 0; background: linear-gradient(142deg, transparent 36%, rgb(126 142 198 / 0.05) 45%, rgb(158 168 220 / 0.075) 50%, rgb(126 142 198 / 0.05) 55%, transparent 64%); }

.aurora { position: absolute; top: -14%; height: 62%; border-radius: 50%; filter: blur(46px); mix-blend-mode: screen; transform-origin: 50% 0; }
.aurora-1 { left: -6%; width: 46%; background: linear-gradient(to bottom, rgb(var(--aurora-1) / 0.5), rgb(var(--aurora-1) / 0.12) 60%, transparent); animation: aurora-sway 8s ease-in-out infinite alternate; }
.aurora-2 { left: 28%; width: 38%; background: linear-gradient(to bottom, rgb(var(--aurora-2) / 0.42), rgb(var(--aurora-2) / 0.1) 60%, transparent); animation: aurora-sway 11s ease-in-out -4s infinite alternate-reverse; }
.aurora-3 { left: 62%; width: 42%; background: linear-gradient(to bottom, rgb(var(--aurora-3) / 0.42), rgb(var(--aurora-3) / 0.1) 60%, transparent); animation: aurora-sway 14s ease-in-out -7s infinite alternate; }
@keyframes aurora-sway {
  0%   { transform: skewX(-18deg) translate(-5%, -5%) scaleY(0.72); opacity: 0.45; }
  40%  { transform: skewX(-6deg) translate(2%, 5%) scaleY(1.22); opacity: 1; }
  65%  { transform: skewX(-14deg) translate(5%, -2%) scaleY(0.9); opacity: 0.65; }
  100% { transform: skewX(-24deg) translate(8%, 6%) scaleY(1.12); opacity: 0.9; }
}

.sky-layer { position: absolute; left: 0; top: 0; width: calc(100% + 200px); height: calc(100% + 712px); background: url('/assets/sky-stars-far.png') repeat; background-size: 512px 512px; will-change: transform; }
.sky-layer[data-depth='16'] { background-image: url('/assets/sky-stars-mid.png'); animation: sky-twinkle 3.7s ease-in-out -1.2s infinite; }
.sky-layer[data-depth='45'] { background-image: url('/assets/sky-stars-near.png'); animation: sky-twinkle 5.3s ease-in-out -3.1s infinite reverse; }
@keyframes sky-twinkle { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
.sky-accent { position: absolute; top: 0; width: 32px; height: 32px; margin: -16px 0 0 -16px; background: url('/assets/sky-star-accent.png') center / contain no-repeat; will-change: transform; }

.meteor { position: absolute; top: 14%; left: 58%; width: 150px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #fff, transparent 75%); filter: drop-shadow(0 0 4px rgb(255 255 255 / 0.7)); opacity: 0; transform: rotate(var(--fall, 145deg)); }
.meteor.is-passing { animation: meteor-pass var(--pass-time) linear 1; }
@keyframes meteor-pass {
  0% { opacity: 0; transform: rotate(var(--fall, 145deg)) translateX(0); }
  10% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--fall, 145deg)) translateX(48vmax); }
}

@media (prefers-reduced-motion: reduce) { .meteor, .aurora, .sky-layer { animation: none; } }
html[data-sky] :is(.on-sky, .page-heading, .home-greeting, .home-about, .invitation-copy, .divider, .sky-copy) {
  text-shadow: 0 1px 1px #000, 0 0 10px #050508, 0 0 24px #050508;
}
html[data-sky] :is(.page-heading-wrap, .home-intro, .invitation-copy, .sky-copy) {
  position: relative;
  isolation: isolate;
}
html[data-sky] :is(.page-heading-wrap, .home-intro, .invitation-copy, .sky-copy)::before {
  content: "";
  position: absolute;
  inset: 10% -1rem;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse, rgb(5 5 8 / .58), rgb(5 5 8 / .22) 58%, transparent 76%);
  filter: blur(12px);
}

}


/* buttons */
@media all {
/* Buttons and pills. */
.button, .pill, .icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  min-height: max(var(--target), calc(2.6em + var(--space-8)));
  padding: var(--space-8) var(--space-16);
  border: var(--stroke-control) solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-dark);
  font-size: var(--text-sm);
  font-weight: var(--weight-strong);
  line-height: var(--leading-ui);
  text-decoration: none;
  text-align: center;
  transition: background var(--duration-fast), border-color var(--duration-fast), box-shadow var(--duration-fast), transform var(--duration-fast);
}
.button:hover, .pill:hover, .icon-button:hover {
  background: var(--surface-alt);
  border-color: var(--text-light);
}
.button:active, .pill:active, .icon-button:active {
  transform: translateY(2px) scale(0.97);
  box-shadow: inset 0 0 8px #11181c26;
}
.button:not(.button--primary):not(.button--danger):not(.button--quiet) {
  border-color: var(--line);
}
:is(.button, .pill).button--primary {
  flex: 0 1 auto;
  align-self: flex-start;
  justify-self: start;
  width: max-content;
  max-width: 100%;
  color: var(--surface);
  background: var(--text-dark);
  border-color: var(--text-dark);
  box-shadow: var(--shadow-raised);
}
:is(.button, .pill).button--primary:hover {
  background: color-mix(in srgb, var(--text-dark) 86%, var(--surface));
  border-color: var(--text-dark);
}
.button--quiet {
  background: transparent;
  border-color: transparent;
  color: var(--accent);
}
.button--danger {
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 40%, var(--line));
}
.icon-button {
  aspect-ratio: 1;
  padding: var(--space-8);
}
.pill {
  border-radius: var(--radius-pill);
}
.pill:not(.button--primary)[aria-pressed="true"], .pill:not(.button--primary)[aria-current="page"] {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: none;
  outline: none;
  border-color: transparent;
  text-decoration: none;
}
.page-pills .pill:not([aria-pressed="true"]):not([aria-current="page"]):not(:hover) {
  background: var(--surface-layer);
  backdrop-filter: blur(5px) saturate(1.4);
}
.pill--subtle[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
  border-color: transparent;
  box-shadow: none;
}
.pill--label {
  min-height: auto;
  font-size: var(--text-xs);
  border-color: var(--line);
  background: var(--surface-alt);
  font-weight: var(--weight-body);
}
.pill--label:hover {
  border-color: var(--line);
  background: var(--surface-alt);
}
:disabled, [aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}
:disabled:hover {
  border-color: var(--line-strong);
}
[aria-busy="true"] {
  cursor: progress;
}
.count {
  display: inline-flex;
  justify-content: center;
  min-width: 1.6em;
  padding: var(--space-8) var(--space-8);
  border-radius: var(--radius-pill);
  font: var(--text-xs)/1 var(--font-mono);
  background: color-mix(in srgb, currentColor 10%, transparent);
  font-variant-numeric: tabular-nums;
}
.menu-heading {
  padding: var(--space-16);
  margin-bottom: var(--space-8);
  border-bottom: var(--stroke) solid var(--line);
}
.sort-icon {
  display: inline-flex;
}
.sort-icon[data-oldest="true"] {
  transform: rotate(180deg);
}
.pill:not(.pill--label):active, .topic-choice:active {
  transform: translateY(2px) scale(0.97);
  box-shadow: inset 0 0 8px #11181c26;
}
.topic-choice {
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}
select {
  appearance: none;
  padding-right: var(--space-32);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23687076' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1em;
  background-position: right 16px center;
}
.icon-button[aria-pressed="true"] {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent);
}
#main .playlist-info .icon-button:hover {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}

}


/* fields */
@media all {
/* Fields and selection. */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  min-width: 0;
}
.field-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-strong);
}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea, select {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  min-height: var(--target);
  padding: var(--space-16) var(--space-16);
  border: var(--stroke-control) solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-dark);
  font-size: var(--text-sm);
}
textarea {
  min-height: calc(5em + var(--space-32));
  resize: vertical;
}
input::placeholder, textarea::placeholder {
  color: var(--text-light);
}
input[type="range"]:not(.collection-scrollbar) {
  accent-color: var(--accent);
  min-height: var(--target);
  width: 100%;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
  padding: 0;
}
[aria-invalid="true"] {
  border-color: var(--danger) !important;
  box-shadow: none;
}
input[type="checkbox"], input[type="radio"] {
  appearance: auto;
  width: 1.15em;
  height: 1.15em;
  accent-color: var(--accent);
}
input[type="range"]:not(.collection-scrollbar)::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: var(--radius-pill);
  background: linear-gradient( to right, var(--slider-blue) 0 var(--range-fill, 50%), var(--line) var(--range-fill, 50%) 100% );
  box-shadow: inset 0 1px 3px #11181c26;
}
input[type="range"]:not(.collection-scrollbar)::-moz-range-track {
  height: 6px;
  border-radius: var(--radius-pill);
  background: linear-gradient( to right, var(--slider-blue) 0 var(--range-fill, 50%), var(--line) var(--range-fill, 50%) 100% );
  box-shadow: inset 0 1px 3px #11181c26;
}
input[type="range"]:not(.collection-scrollbar)::-webkit-slider-thumb {
  appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -11px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: radial-gradient( circle, var(--slider-blue) 0 28%, #fff 31% 62%, #e8edf2 100% );
  box-shadow: 0 2px 3px #11181c30, 0 5px 9px #11181c20, inset 0 1px 2px #fff;
}
input[type="range"]:not(.collection-scrollbar)::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: radial-gradient( circle, var(--slider-blue) 0 28%, #fff 31% 62%, #e8edf2 100% );
  box-shadow: 0 2px 3px #11181c30, 0 5px 9px #11181c20;
}
input[type="range"]:not(.collection-scrollbar):focus-visible::-webkit-slider-thumb {
  border-color: var(--slider-blue);
}
input[type="range"]:not(.collection-scrollbar):focus-visible::-moz-range-thumb {
  border-color: var(--slider-blue);
}
.form-status {
  min-height: 1.2em;
  color: var(--text-medium);
  font-size: var(--text-xs);
}
.form-status[data-ok='true'] {
  color: var(--success);
}
.form-status[data-ok='false'], .field-error {
  color: var(--danger);
}

}


/* menus */
@media all {
/* Menus. */
.menu {
  position: relative;
  min-width: 0;
}
.menu > summary {
  list-style: none;
}
.menu > summary::-webkit-details-marker {
  display: none;
}
.menu > summary::after {
  content: "⌄";
}
.menu[open] > summary {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.menu > .panel {
  position: absolute;
  z-index: 5;
  top: calc(100% + var(--space-8));
  left: 0;
  width: min(19rem, 75vw);
  max-height: 24rem;
  overflow: auto;
  padding: var(--space-8);
  border-radius: var(--radius-popup);
  box-shadow: var(--shadow-surface);
}
.menu-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  padding: var(--space-16);
  border: 0;
  background: transparent;
  color: var(--text-dark);
  min-height: var(--target);
  font-size: var(--text-sm);
  text-align: left;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.menu-row:hover {
  background: var(--surface-alt);
}
.menu-row[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.menu-row[aria-pressed="true"]::before {
  content: "✓";
}
.menu-row:hover, .menu-row:focus-visible {
  background: var(--surface-alt);
  outline: none;
}
.page-pill-menu {
  position: relative;
}
.page-pill-menu > summary {
  list-style: none;
}
.page-pill-menu > summary::-webkit-details-marker {
  display: none;
}
.page-pill-menu[open] > summary {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background: var(--accent-soft);
}
.page-pill-menu-panel {
  position: absolute;
  z-index: 8;
  top: calc(100% + var(--space-8));
  left: 50%;
  display: grid;
  gap: var(--space-8);
  width: min(20rem, calc(100vw - var(--space-32)));
  max-height: min(24rem, calc(var(--visible-height) - var(--bar-clearance-top) - var(--bar-clearance-bottom)));
  padding: var(--space-8);
  overflow: auto;
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius-popup);
  background: var(--surface-layer);
  backdrop-filter: blur(8px) saturate(1.4);
  box-shadow: var(--shadow-surface);
  translate: -50% 0;
}
.page-pill-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  width: 100%;
  min-height: var(--target);
  padding: var(--space-8) var(--space-16);
  border: var(--stroke-control) solid transparent;
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--text-dark);
  text-align: left;
  text-decoration: none;
}
.page-pill-option:is(:hover, :focus-visible, [aria-pressed="true"]) {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: var(--accent-soft);
}
.page-pill-topics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}
.page-pill-topics .tag {
  min-height: 2rem;
  padding: calc(var(--space-8) / 2) var(--space-8);
}

}


/* dialogs */
@media all {
/* Dialogs. */
dialog {
  width: min(32rem, calc(100% - var(--space-32)));
  max-height: calc(100dvh - var(--space-64));
  overflow: auto;
  padding: var(--space-32);
  border: var(--stroke-control) solid var(--line-strong);
  border-radius: var(--radius-popup);
  background: var(--surface);
  color: var(--text-dark);
  box-shadow: var(--shadow-surface);
}
.dialog--confirmation {
  --radius-popup: 2px;
}
dialog::backdrop {
  background: #10162080;
}
.dialog-head, .dialog-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-16);
}
.dialog-head {
  margin-bottom: var(--space-24);
}
.dialog-head > :first-child {
  margin-right: auto;
}
.dialog-head h3 {
  font-size: var(--text-xl);
}
.dialog-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  min-height: 0;
  overflow-y: auto;
}
.dialog-actions {
  margin-top: var(--space-24);
}
.modal-sm {
  max-width: 24rem;
}
.modal-lg {
  width: min(44rem, calc(100% - var(--space-32)));
}
.account-sec, .account-form, .account-danger {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

}


/* gems */
@media all {
/* Live gemstones and their site-owned preview. */
.site-stone, [data-gem] > svg {
  transform-origin: 50% 50%;
  filter: drop-shadow(0 2px 2px rgb(0 0 0 / .18));
  display: block;
  width: 100%;
  height: 100%;
}
.gem-stage:not([open]) {
  display: none;
}
.gem-stage::backdrop {
  background: #000b;
}
body:has(.gem-stage[open]) {
  overflow: hidden;
}
.gem-stage {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-24);
  padding: var(--space-24);
  border: 0;
  background: var(--page);
  color: var(--text-dark);
  overflow: auto;
}
.gem-stage-close {
  position: absolute;
  top: calc(var(--space-24) + var(--safe-top));
  right: var(--space-24);
  width: var(--target);
  height: var(--target);
  border: var(--stroke-control) solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text-dark);
}
.gem-stage-caption {
  font: var(--text-xl)/1.2 var(--font-display);
  text-transform: capitalize;
}
.gem-stage-gem {
  width: min(62vw, calc(var(--page-height) * .38), 19rem);
  aspect-ratio: 1;
}
.gem-stage-tray {
  display: flex;
  gap: var(--space-8);
  max-width: 100%;
  overflow-x: auto;
  padding: var(--space-8);
}
.gem-stage-stone {
  flex: none;
  width: var(--target);
  height: var(--target);
  padding: var(--space-8);
  border: var(--stroke-control) solid transparent;
  border-radius: var(--radius-pill);
  background: none;
}
.gem-stage-stone[aria-pressed="true"] {
  border-color: var(--text-dark);
}
.gem-viewer::backdrop { background: rgb(2 3 10 / .88); backdrop-filter: blur(28px) saturate(.35); -webkit-backdrop-filter: blur(28px) saturate(.35); }
.gem-stage.gem-viewer { --gem-glow: #b9d9ff; display: flex; justify-content: safe center; gap: 0; width: 100%; height: 100%; min-height: 0; padding: 88px 0 32px; background: transparent; color: #f4f3ff; overflow: auto; overscroll-behavior: contain; color-scheme: dark; }
.gem-viewer .gem-stage-close { position: fixed; top: max(24px, env(safe-area-inset-top)); right: 32px; z-index: 10; display: grid; place-items: center; width: 40px; height: 40px; min-height: 40px; padding: 0; border: 1px solid #ffffff25; border-radius: 50%; background: #ffffff05; color: #e9e7f3; box-shadow: none; }
.gem-stage-content { display: grid; justify-items: center; width: 100%; min-width: 0; }
.gem-stage-heading { padding-inline: 22px; text-align: center; }
.gem-stage-index { margin: 0 0 10px; color: color-mix(in srgb, var(--gem-glow), white 20%); font: 10px/1.4 var(--font-mono); letter-spacing: .2em; }
.gem-stage.gem-viewer .gem-stage-caption { margin: 0; color: #f4f3ff; font: 400 clamp(48px, 6vw, 76px)/.98 var(--font-display); letter-spacing: -.035em; text-transform: none; }
.gem-stage-meaning { margin: 14px 0 0; color: #bfc0d0; font: italic 19px/1.4 var(--font-display); }
.gem-stage-carousel { position: relative; width: 100%; min-width: 0; margin-top: 4px; }
.gem-stage-track { display: flex; width: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x pan-y; cursor: grab; }
.gem-stage-track::-webkit-scrollbar { display: none; }
.gem-stage-track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.gem-stage-slide { display: grid; flex: 0 0 100%; min-width: 0; height: 330px; place-items: center; scroll-snap-align: center; scroll-snap-stop: always; user-select: none; }
.gem-stage.gem-viewer .gem-stage-gem { width: 320px; max-width: 72vw; aspect-ratio: 1; opacity: var(--gem-opacity, 1); filter: blur(var(--gem-blur, 0px)) drop-shadow(0 0 22px color-mix(in srgb, var(--gem-glow) 18%, transparent)) drop-shadow(0 18px 28px #0008); }
.gem-stage-gem > svg { display: block; width: 100%; height: 100%; overflow: visible; }
.gem-stage-gem .gem-front { filter: contrast(1.16) saturate(1.08); }
.gem-stage-pagination { display: grid; justify-items: center; margin: -4px 0 20px; }
.gem-stage-dots { display: flex; align-items: center; gap: 2px; }
.gem-stage-dot { display: grid; place-items: center; width: 26px; height: 30px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: none; }
.gem-stage-dot::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--dot-color); opacity: .4; transition: scale 180ms, opacity 180ms, box-shadow 180ms; }
.gem-stage-dot[aria-pressed='true']::before { scale: 1.4; opacity: 1; box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot-color) 12%, transparent), 0 0 14px color-mix(in srgb, var(--dot-color) 60%, transparent); }
.gem-stage-customize { display: flex; justify-content: center; gap: var(--space-8); width: 100%; padding: 0 var(--space-16); border: 0; background: transparent; backdrop-filter: none; overflow: visible; }
.gem-stage-menu { display: block; }
.gem-stage-menu .page-pill-menu-panel { top: auto; bottom: calc(100% + var(--space-8)); max-height: min(320px, 42dvh); }
.gem-stage-history { width: min(calc(100% - 44px), 620px); margin: 28px 0 0; color: #c5c6d5; font: 18px/1.7 var(--font-body); text-align: center; }
.gem-viewer .gem-stage-dot:focus-visible { outline: 2px solid #d5ddff; outline-offset: 3px; box-shadow: none; }
.gem-viewer .gem-stage-close:hover { border-color: #ffffff60; background: #ffffff08; color: #fff; }
@media (max-width: 600px) {
  .gem-stage.gem-viewer { justify-content: safe center; padding: 76px 0 22px; }
  .gem-viewer .gem-stage-close { top: max(16px, env(safe-area-inset-top)); right: 20px; }
  .gem-stage-index { margin-bottom: 8px; font-size: 9px; }
  .gem-stage.gem-viewer .gem-stage-caption { font-size: 52px; }
  .gem-stage-meaning { margin-top: 10px; font-size: 17px; }
  .gem-stage-slide { height: min(250px, 34dvh); }
  .gem-stage.gem-viewer .gem-stage-gem { width: min(250px, 34dvh); }
  .gem-stage-dot { width: 25px; height: 28px; }
  .gem-stage-history { margin-top: 24px; font-size: 16px; }
  .gem-stage-menu:first-child .page-pill-menu-panel { left: 0; translate: 0; }
  .gem-stage-menu:last-child .page-pill-menu-panel { left: auto; right: 0; translate: 0; }
}
@media (prefers-reduced-motion: reduce) { .gem-stage-dot::before { transition: none; } }

}


/* tooltips */
@media all {
/* Tooltips. */
[data-tip] {
  position: relative;
}
[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + var(--space-8));
  left: 50%;
  translate: -50% 0;
  z-index: 80;
  width: max-content;
  max-width: min(16rem, 80vw);
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-popup);
  background: #000;
  color: #fff;
  font: var(--text-xs)/1.4 var(--font-body);
  white-space: normal;
  text-align: center;
  pointer-events: none;
  visibility: hidden;
}
[data-tip]::before {
  content: '';
  position: absolute;
  bottom: calc(100% + var(--space-8) - 10px);
  left: 50%;
  translate: -50% 0;
  z-index: 80;
  border: 5px solid transparent;
  border-top-color: #000;
  pointer-events: none;
  visibility: hidden;
}
[data-tip]:is(:hover,:focus-visible):not([data-tip-dismissed])::after, [data-tip]:is(:hover,:focus-visible):not([data-tip-dismissed])::before {
  visibility: visible;
}
@media (hover: none) {
  [data-tip]:hover::after, [data-tip]:hover::before {
    visibility: hidden;
  }
}
[data-tooltips='ready'] [data-tip]::before, [data-tooltips='ready'] [data-tip]::after {
  content: none;
}
.tip-bubble {
  position: fixed;
  z-index: 110;
  inset: auto;
  margin: 0;
  border: 0;
  overflow: visible;
  max-width: min(18rem, calc(100vw - var(--space-32)));
  width: max-content;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-popup);
  background: #000;
  color: #fff;
  font: var(--text-xs)/1.4 var(--font-body);
  text-align: center;
  overflow-wrap: anywhere;
  box-shadow: var(--shadow-md);
  pointer-events: none;
  opacity: 0;
}
.tip-bubble[data-open] { opacity: 1; }
.tip-bubble::after {
  content: '';
  position: absolute;
  border: 6px solid transparent;
}
.tip-bubble[data-place='above']::after {
  top: 100%;
  left: var(--tip-arrow-x, 50%);
  translate: -50% 0;
  border-top-color: #000;
}
.tip-bubble[data-place='below']::after {
  bottom: 100%;
  left: var(--tip-arrow-x, 50%);
  translate: -50% 0;
  border-bottom-color: #000;
}
.tip-bubble[data-place='left']::after {
  left: 100%;
  top: 50%;
  translate: 0 -50%;
  border-left-color: #000;
}
.tip-bubble[data-place='right']::after {
  right: 100%;
  top: 50%;
  translate: 0 -50%;
  border-right-color: #000;
}

}


/* cards */
@media all {
/* Cards. */
.card, .panel, .specimen {
  padding: var(--space-24);
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius-lg);
}
.card, .specimen {
  background: var(--card-surface);
  box-shadow: var(--shadow-card);
}
.panel {
  background: var(--surface-layer);
  backdrop-filter: blur(5px) saturate(1.4);
  box-shadow: var(--shadow-surface);
}
.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}
.card--glass {
  --card-surface: var(--surface-raised);
}
.card-title {
  font-size: var(--text-xl);
}
.card-title a {
  color: inherit;
  text-decoration: none;
}
.card > .pill {
  align-self: flex-start;
}
.card-bottom-tag {
  margin-top: auto;
}
.card[data-tone="blue"] {
  --card-tone: var(--accent);
}
.card[data-tone="pink"] {
  --card-tone: var(--pink);
}
.card[data-tone="green"] {
  --card-tone: var(--success);
}
.card[data-tone="violet"] {
  --card-tone: var(--violet);
}
.card[data-tone] {
  background: color-mix(in srgb, var(--card-tone) 5%, var(--surface));
  border-top: calc(var(--stroke) * 4) solid var(--card-tone);
}

}


/* notices and empty states */
@media all {
/* Notices and empty states. */
.empty-state {
  padding: var(--space-64) var(--space-24);
  border: var(--stroke) dashed var(--line-strong);
  border-radius: var(--radius-md);
  text-align: center;
}
.empty-state, .empty-state :is(h4, p, a, button), [aria-busy="true"] > .field-help {
  color: var(--text-light);
}
.empty-state a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}
.empty-state .button {
  color: var(--text-medium);
}
.empty-state > .row {
  justify-content: center;
}
.empty-state a:hover {
  color: var(--text-medium);
}
.empty-state .text-sm {
  font-size: var(--text-sm);
}
.empty-state .text-xs {
  font-size: var(--text-xs);
}
.avatar {
  width: calc(2.5em + var(--space-8));
  height: calc(2.5em + var(--space-8));
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 50%;
  background: var(--surface-alt);
  display: inline-grid;
  place-items: center;
}

}


/* identity rows */
@media all {
/* Identity rows. */
.identity-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-16);
  padding-block: var(--space-16);
}
.identity-row + .identity-row {
  border-top: var(--stroke) solid var(--line);
}
.identity-row .identity-copy {
  flex: 1;
}
.company-mark {
  width: calc(2.5em + var(--space-16));
  height: calc(2.5em + var(--space-16));
  object-fit: contain;
  flex-shrink: 0;
  padding: var(--space-8);
  background: #fff;
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius-sm);
}

}


/* prose */
@media all {
/* Prose. */
.prose ul, .prose ol {
  padding-left: var(--space-24);
}
.prose {
  max-width: var(--measure-prose);
  font: var(--text-lg)/1.7 var(--font-reading);
}
.prose > * + * {
  margin-top: var(--space-24);
}
.prose h3 {
  font-size: var(--text-2xl);
}
.prose blockquote {
  padding-left: var(--space-24);
  border-left: calc(var(--stroke) * 3) solid var(--accent);
  color: var(--text-medium);
  font-style: italic;
  font-size: var(--text-xl);
}
.prose figcaption {
  margin-top: var(--space-8);
  color: var(--text-light);
  font: var(--text-sm)/var(--leading-body) var(--font-body);
}
.prose figure img {
  border-radius: var(--radius-sm);
}

}


/* document sheets */
@media all {
/* Document sheets. */
.document-sheet {
  width: min(100%, 48rem);
  min-width: 0;
  margin-inline: auto;
  padding: var(--space-32);
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.a4 {
  border-radius: 3px;
  corner-shape: round;
}
.document-sheet dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-16) var(--space-24);
}
.document-sheet dt {
  font-weight: 600;
}
.document-sheet dd {
  margin: 0;
}

}


/* writing cards */
@media all {
/* Shared writing cards, authors and topics. */
.writing-article {
  gap: var(--space-8);
}
.feed-post {
  background: var(--card-surface);
  position: relative;
  isolation: isolate;
}
.feed-link-preview { background: color-mix(in srgb, var(--accent) 5%, var(--surface)); }
.feed-post-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.feed-post :is(.feed-act, .feed-tag, .feed-link-preview) {
  position: relative;
  z-index: 2;
}
.feed-author {
  gap: var(--space-8);
  flex-wrap: nowrap;
}
.feed-author-meta {
  gap: 0;
  flex: 1;
  font-size: var(--text-sm);
}
.feed-date {
  margin-left: auto;
  max-width: 35%;
  text-align: right;
}
.feed-tags {
  gap: var(--space-8);
  flex-wrap: wrap;
}
.feed-link-preview {
  display: block;
  overflow: hidden;
  padding: 0;
  color: inherit;
  text-decoration: none;
}
.feed-link-preview .feed-media, .feed-link-preview__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 0;
}
.feed-link-preview .feed-media img, .feed-link-preview__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feed-media-play, .feed-link-preview__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgb(0 0 0 / .2);
}
.feed-link-meta, .feed-link-preview__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: var(--space-16);
  border-top: var(--stroke) solid var(--line);
}
.feed-link-source, .feed-link-preview__meta {
  color: var(--text-medium);
  font-size: var(--text-xs);
}
.feed-link-title, .feed-link-preview__title {
  color: var(--text-dark);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  overflow-wrap: anywhere;
}
.tag, .feed-tag {
  display: inline-flex;
  align-items: center;
  gap: .42em;
  min-height: 2rem;
  padding: .38em .78em;
  border: var(--stroke) solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 22%, var(--surface));
  color: var(--text-dark);
  font-size: var(--text-sm);
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
}
.tag:hover, .feed-tag:hover {
  background: color-mix(in srgb, var(--accent) 24%, var(--surface));
  color: var(--text-dark);
}
.tag[aria-pressed="true"], .feed-tag[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
}
.tag:focus-visible, .feed-tag:focus-visible {
  outline: var(--stroke-control) solid var(--accent);
  outline-offset: 3px;
}
.tag__icon {
  display: inline-grid;
  width: 1em;
  height: 1em;
  place-items: center;
}
.tag__badge {
  display: inline-grid;
  min-width: 1.5em;
  min-height: 1.5em;
  padding-inline: .38em;
  place-items: center;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, currentColor 14%, transparent);
  font: 700 var(--text-xs)/1 var(--font-mono);
}
.tag__close {
  font-size: 1.08em;
  line-height: 1;
}
.feed-post-body {
  display: grid;
  gap: var(--space-8);
}
.feed-post-body p {
  color: var(--text-medium);
}
.feed-post-body a {
  color: inherit;
  text-decoration: none;
}
.preview-copy {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
  overflow: hidden;
}
.share-title {
  display: block;
}
@media (max-width: 40rem) {
  .feed-author {
    flex-wrap: wrap;
  }
  .feed-date {
    max-width: none;
    flex-basis: 100%;
    text-align: left;
  }
}

}


/* shared project cards */
@media all {
/* Shared project cards. */
.project-tile {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
}
.explore-section .card[data-tone="gold"] {
  --card-tone: #c2ac7b;
}
.project-card-title {
  display: flex;
  justify-content: space-between;
  gap: var(--space-8);
}
.project-card-copy {
  flex: 1;
}
.image-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 18rem;
  padding: 0;
  overflow: hidden;
  color: var(--text-dark);
  text-decoration: none;
}
.image-card-media {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: var(--surface-raised);
}
.image-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-fast);
}
.image-card-media--top {
  padding-block: var(--space-8);
  background: #fff;
  object-position: top;
}
.image-card-media--japan-habba { background: #fbcfe8; }
.image-card-media--japan-habba img { object-fit: contain; padding: clamp(16px, 3vw, 36px); }
.image-card:is(:hover, :focus-visible) .image-card-media img { transform: scale(1.025); }
.image-card-copy {
  display: flex;
  box-sizing: border-box;
  flex: 0 0 auto;
  min-height: 0;
  align-items: flex-start;
  gap: var(--space-16);
  padding: var(--space-16);
  overflow: hidden;
}
a.image-card-copy, a.image-card-copy:hover { color: inherit; text-decoration: none; }
.image-card-identity {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}
.image-card-title {
  overflow: hidden;
  font: 600 var(--text-md)/var(--leading-ui) var(--font-body);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.image-card-description {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-medium);
  font-size: var(--text-sm);
  line-height: var(--leading-ui);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.image-card--full-copy .image-card-description { -webkit-line-clamp: 4; }
.image-card-status {
  position: absolute;
  top: var(--space-16);
  left: var(--space-16);
  padding: calc(var(--space-8) / 2) var(--space-8);
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-medium);
  font-size: var(--text-xs);
}
.image-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8) var(--space-24);
  padding: 0 var(--space-16) var(--space-16);
  font-size: var(--text-sm);
}
.image-card-actions a { color: var(--accent); }
.b-arrow {
  color: var(--accent);
  font-size: var(--text-sm);
}

}


/* reactions and comments */
@media all {
/* Reactions and comments. */
.reactions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  align-items: center;
  font-size: var(--text-sm);
}
.comment {
  border-left: 2px solid var(--line);
  margin-left: var(--space-24);
  padding-left: var(--space-16);
}
.act-row + .act-row, .like-row + .like-row {
  border-top: var(--stroke) solid var(--line);
}
.act-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  text-decoration: none;
}
.act-text, .like-name {
  font-size: var(--text-sm);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.act-meta, .like-time, .like-none {
  font-size: var(--text-xs);
  color: var(--text-medium);
}
.act-del, .comment-del {
  margin-left: auto;
}
.act-del[data-armed='true'] {
  color: var(--danger);
}
.like-name {
  flex: 1;
}
.like-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
}
.like-avatar-blank {
  display: grid;
  place-items: center;
  background: var(--surface-alt);
}
.like-row-btn {
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  color: var(--text-dark);
}
.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-16);
  text-align: center;
}
.profile-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
}
.profile-avatar-blank {
  display: grid;
  place-items: center;
  background: var(--surface-alt);
}
.profile-joined {
  color: var(--text-medium);
  font-size: var(--text-xs);
}
.like-pile-wrap, .reading-likes {
  display: inline-flex;
  align-items: center;
}
.like-pile {
  display: flex;
  padding: 0;
  border: 0;
  background: none;
}
.like-pile .face {
  width: 2rem;
  height: 2rem;
  margin-right: -8px;
  border: 1px solid var(--surface);
  border-radius: 50%;
  object-fit: cover;
}
.like-pile .face:last-child {
  margin-right: 0;
}
.face-blank {
  display: grid;
  place-items: center;
  background: var(--surface-alt);
  color: var(--text-medium);
  font-size: var(--text-xs);
}
.reading-comments {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  padding-top: var(--space-24);
  border-top: var(--stroke) solid var(--line);
}
.comment-list, .comment-thread, .comment-replies {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}
.comment-head {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.comment-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
}
.comment-avatar-blank {
  display: grid;
  place-items: center;
  background: var(--surface-alt);
}
.avatar-btn, .name-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-dark);
}
.comment-when, .comment-who {
  font-size: var(--text-xs);
  color: var(--text-medium);
}
.comment-body {
  white-space: pre-wrap;
}
.comment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8);
}
.comment-replies {
  margin-left: var(--space-32);
}
.comment-act[aria-pressed='true'] svg {
  fill: currentColor;
}
.comment-act-n:empty {
  display: none;
}
.comment-compose, .comment-compose-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-8);
}
.comment-compose-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: var(--space-8);
}
.comment-invite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-16);
  width: 100%;
  min-height: var(--target);
  border: 0;
  background: transparent;
  color: var(--text-medium);
  text-align: left;
}
.comment-invite-line {
  flex: 1;
}
.comment-signout {
  border: 0;
  background: none;
  color: var(--text-medium);
  text-decoration: underline;
}
.reply-chip {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  align-self: flex-start;
}
.feed-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8);
  color: var(--text-medium);
}
.feed-act {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  min-height: 1.75rem;
  padding: var(--space-8) 0;
  border: 0;
  background: none;
  color: var(--text-medium);
  font-size: var(--text-xs);
}
.feed-act[aria-pressed='true'] svg {
  fill: currentColor;
}
.feed-act-count {
  min-width: 1.5rem;
  margin-left: calc(-1 * var(--space-8));
  font-variant-numeric: tabular-nums;
}
.feed-act-passive {
  margin-left: calc(-1 * var(--space-8));
}
.feed-act-static.view-count {
  margin-left: auto;
}

}


/* account panels */
@media all {
/* Account panels. */
.account-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}
.account-id {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  padding-block: var(--space-16);
}
.account-id-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.account-face {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}
.account-face-blank {
  display: grid;
  place-items: center;
  background: var(--surface-alt);
}
.account-id-email, .account-note, .account-cap {
  color: var(--text-medium);
  font-size: var(--text-xs);
}
.act-row, .like-row {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding-block: var(--space-8);
}

}


/* toasts */
@media all {
/* Toasts. */
.toast {
  position: fixed;
  z-index: 20;
  bottom: var(--space-24);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - var(--space-32));
  padding: var(--space-8) var(--space-16);
  border: 0;
  border-radius: var(--radius-toast);
  background: var(--text-dark);
  color: var(--surface);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--text-xs);
}
.toast::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #9ebeff;
}
.toast[data-kind="success"]::before {
  background: #77d6a0;
}
.toast[data-kind="warning"]::before {
  background: #efc166;
}
.toast[data-kind="error"]::before {
  background: #ff8993;
}
.toast-close {
  margin-block: calc(-1 * var(--space-8));
  margin-inline-end: calc(-1 * var(--space-8));
  color: inherit;
  background: none;
  border: 0;
  min-width: var(--target);
  min-height: var(--target);
}
.toast-rack {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: var(--bar-clearance-bottom);
  translate: -50% 0;
  width: min(22rem, calc(100vw - var(--space-32)));
  display: grid;
  gap: var(--space-8);
  pointer-events: none;
}
.toast-rack .toast {
  position: static;
  transform: none;
  translate: none;
  margin: 0;
  width: 100%;
  max-width: none;
  min-height: 3rem;
  justify-content: center;
  text-align: center;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.toast-out {
  opacity: 0;
}

}


/* shared loading placeholders */
@media all {
/* Shared loading placeholders. */
.skeleton {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  padding-block: var(--space-16);
}
.skeleton-line {
  display: block;
  min-height: var(--text-sm);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
}
.skeleton-line--heading {
  min-height: var(--text-xl);
  margin-bottom: var(--space-16);
}
.skeleton-line--short {
  width: 60%;
}

}


/* explicit content text sizes */
@media all {
/* Explicit content text sizes. */
.text-caption {
  font-size: var(--text-xs);
}
.text-footnote {
  font-size: var(--text-sm);
}
.text-h4 {
  font-size: var(--text-lg);
}
.text-h2 {
  font-size: var(--text-2xl);
}
.text-muted {
  color: var(--text-medium);
}

}


/* shared header and navigation */
@media all {
/* Shared header and navigation. */
.site-header {
  position: relative;
  z-index: 30;
}
.nav-scrim { display: none; }
.site-brand, .tab-set {
  box-shadow: var(--shadow-surface);
}
.site-brand {
  z-index: 1;
  position: fixed;
  top: calc(20px + var(--safe-top));
  left: max(var(--space-32), calc((100% - 72rem) / 2 + var(--space-32)));
  display: inline-flex;
  align-items: center;
  padding: calc(var(--space-8) / 2);
  border: var(--stroke) solid var(--line);
  border-radius: 999px;
  background: var(--chrome-surface);
  backdrop-filter: blur(5px) saturate(1.4);
  color: var(--text-dark);
  text-decoration: none;
}
.site-brand-indicator {
  display: inline-flex;
  min-height: var(--bar-item-height);
  padding-inline: calc(var(--space-8) / 2) var(--space-16);
  border-radius: 999px;
  align-items: center;
  gap: var(--space-8);
}
.site-brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.site-brand-mark .gem-front { opacity: .9; }
.site-brand-mark .gem-highlight { opacity: .22; }
.site-brand-mark .gem-sheen { filter: opacity(.2); }
.site-brand-text {
  font: 700 var(--text-lg)/1 var(--font-brand);
  color: inherit;
  text-decoration: none;
}
[data-theme='light'] :is(.site-brand, .site-brand-indicator, .site-brand-text) {
  color: var(--text-dark);
  text-shadow: none;
  box-shadow: none;
  filter: none;
}
.tab-bar {
  z-index: 5;
  position: fixed;
  display: flex;
  top: calc(20px + var(--safe-top));
  left: 0;
  right: 0;
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--space-32);
  justify-content: flex-end;
  align-items: flex-start;
  pointer-events: none;
}
.tab-set {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: calc(var(--space-8) / 2);
  border: var(--stroke) solid var(--line);
  border-radius: 999px;
  background: var(--chrome-surface);
  backdrop-filter: blur(5px) saturate(1.4);
  pointer-events: auto;
}
.tab-row {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  min-width: 0;
}
.tab-scroll {
  position: relative;
  display: flex;
  gap: var(--space-8);
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-seg {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: var(--bar-item-height);
  padding-inline: var(--space-16);
  border: 0;
  border-radius: 999px;
  color: var(--text-medium);
  font-size: var(--text-sm);
  font-weight: var(--weight-strong);
  text-decoration: none;
}
.tab-seg[aria-current] {
  color: var(--text-dark);
}
.tab-bar-top .tab-indicator { view-transition-name: tab-highlight; }
.site-brand-indicator, .tab-indicator {
  background: var(--card-surface);
  box-shadow: var(--shadow-card);
}
.tab-indicator {
  transition: transform 320ms cubic-bezier(.22,.75,.2,1), width 320ms cubic-bezier(.22,.75,.2,1);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 999px;
  pointer-events: none;
}
.tab-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: var(--bar-item-height);
  height: var(--bar-item-height);
  border: 0;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--text-dark);
}
.tab-more svg {
  transition: rotate 320ms cubic-bezier(.2,0,0,1);
}
.more-in {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 100ms ease, transform 100ms ease;
}
.more-panel[data-open='true'] .more-in {
  opacity: 1;
  transform: none;
  transition: opacity 260ms ease var(--d), transform 320ms cubic-bezier(.2,0,0,1) var(--d);
}
.edge-veil {
  position: fixed;
  left: 0;
  right: 0;
  height: 100px;
  z-index: -1;
  pointer-events: none;
  backdrop-filter: blur(12px);
}
.edge-veil-top {
  top: 0;
  mask-image: linear-gradient(#000, transparent);
}
.edge-veil-bottom {
  display: none;
  bottom: 0;
  mask-image: linear-gradient(transparent, #000);
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0s; }
.tab-more[aria-expanded='true'] {
  background: var(--accent);
  color: var(--on-accent);
}
.tab-more[aria-expanded='true'] svg {
  rotate: 180deg;
}
.more-panel {
  position: absolute;
  top: calc(100% + var(--space-8));
  padding: var(--space-8);
  border: var(--stroke) solid var(--line);
  border-radius: calc(20px + var(--space-8));
  background: var(--surface-layer);
  backdrop-filter: blur(5px) saturate(1.4);
  transform-origin: 50% 0;
  transform: scale(0);
  visibility: hidden;
  pointer-events: auto;
  transition: transform 320ms cubic-bezier(.4,0,1,1), visibility 0s linear 320ms;
}
.more-panel[data-open='true'] {
  transform: scale(1);
  visibility: visible;
  box-shadow: var(--shadow-surface);
  transition: transform 320ms cubic-bezier(.2,0,0,1), visibility 0s;
}
.more-scroll {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  padding: var(--space-8);
  max-height: min(calc(var(--visible-height) * .54), 26rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.more-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.more-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.more-row {
  gap: 6px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.menu-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font: var(--text-xs)/1.4 var(--font-mono);
  color: var(--text-medium);
  padding-block: var(--space-8);
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
.menu-label::before, .menu-label::after {
  content: "";
  flex: 1;
  border-top: var(--stroke) solid color-mix(in srgb, currentColor 35%, transparent);
}
.menu-item {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  min-width: 0;
  min-height: var(--target);
  padding: var(--space-8);
  border: var(--stroke-control) solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-dark);
  font-size: var(--text-sm);
  text-decoration: none;
}
.menu-item:is(:hover, :focus-visible, [aria-current='page']) {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  background: var(--accent-soft);
}
.menu-item[aria-expanded='true'] {
  color: var(--accent);
}
[data-account-panel] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
}
[data-account-panel] > :is(.account-cap, .account-id) {
  grid-column: 1 / -1;
}
[data-account-panel] .account-id {
  padding: var(--space-8);
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
}
[data-account-panel] .account-id-name,
[data-account-panel] .account-id-email {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.menu-value {
  margin-left: auto;
  font-weight: var(--weight-strong);
}
.more-row .menu-item {
  padding-inline: 4px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: var(--space-8);
}
.more-row .menu-name {
  white-space: nowrap;
  font-size: var(--text-xs);
}
.more-row .menu-value {
  white-space: nowrap;
  margin: 0;
  font-size: var(--text-xs);
}
.more-key[data-scheme] svg {
  display: none;
}
.more-key[data-scheme='light'] .if-light, .more-key[data-scheme='dark'] .if-dark, .more-key[data-scheme='auto'] .if-auto {
  display: block;
}
.menu-dot {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--dot, var(--accent));
}
.tab-settings-face {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
@media (max-width: 40rem) {
  .site-brand-mark { width: 28px; height: 28px; }
  .site-brand {
    top: calc(var(--space-16) + var(--safe-top));
    left: 50%;
    transform: translateX(-50%);
  }
  .tab-bar {
    top: auto;
    bottom: calc(var(--space-16) + var(--safe-bottom));
    left: var(--space-16);
    right: var(--space-16);
    width: auto;
    padding: 0;
    justify-content: center;
  }
  .tab-set {
    width: 80%;
    min-width: min(100%, 19rem);
    max-width: 22rem;
  }
  .tab-row { justify-content: flex-start; }
  .tab-scroll { flex: 1; }
  .tab-seg { flex: 1 0 auto; }
  .more-panel {
    max-width: calc(100vw - 2 * var(--space-16));
  }
  .site-brand, .tab-bar, .edge-veil {
    transition: translate 500ms cubic-bezier(.4,0,.2,1);
  }
  .edge-veil-bottom { display: block; }
  .bar-gone .site-brand, .bar-gone .edge-veil-top { translate: 0 -180px; }
  [data-home-intro] .site-brand, [data-home-intro] .edge-veil-top { translate: none; }
  .bar-gone .tab-bar, .bar-gone .edge-veil-bottom { translate: 0 180px; }
  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 4;
    background: rgb(0 0 0 / .65);
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    transition: opacity 320ms ease, visibility 0s linear 320ms;
  }
  .nav-open .nav-scrim {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
  .more-panel {
    top: auto;
    bottom: calc(100% + var(--space-8));
    transform-origin: 50% 100%;
  }
  .tab-more svg {
    rotate: 180deg;
  }
  .tab-more[aria-expanded='true'] svg {
    rotate: 0deg;
  }
}
@media (max-width: 30rem) {
  .more-row, [data-account-panel] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

}


/* shared footer */
@media all {
/* Shared footer. */
.footer-surface {
  border-radius: var(--radius-lg);
  padding: var(--space-32);
}
.footer-brand {
  font: var(--text-3xl)/1.1 var(--font-brand);
}
.signature {
  font: var(--text-xl)/1.3 var(--font-hand);
}
.site-footer, .footer-surface {
  --surface: #121315;
  --surface-alt: #0b0c0e;
  --surface-raised: #1b1d20;
  --card-surface: var(--surface-raised);
  --text-dark: #e8ebef;
  --text-medium: #a5adb9;
  --text-light: #929ba8;
  --line: #e8ebef1a;
  --line-strong: #e8ebef40;
  --f-accent: var(--accent);
  color: var(--text-dark);
  box-shadow: var(--shadow-surface);
  background: radial-gradient(110% 70% at 50% 0%, color-mix(in srgb, var(--f-accent) 6%, transparent), transparent 58%), color-mix(in srgb, var(--surface-alt) 72%, transparent);
}
.site-footer {
  position: relative;
  margin-top: var(--space-128);
  border-top: var(--stroke) solid #24262a;
  box-shadow: none;
}
.ftr-wrap {
  max-width: 72rem;
  margin-inline: auto;
  padding: var(--space-32) var(--space-24) var(--space-24);
}
.ftr-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: var(--space-32);
  padding-bottom: var(--space-32);
  border-bottom: var(--stroke) solid var(--line-strong);
}
.ftr-line {
  font: 600 var(--text-2xl)/1.2 var(--font-hand);
}
.ftr-connect {
  display: grid;
  justify-items: end;
  gap: var(--space-16);
  text-align: right;
}
.ftr-detail {
  display: grid;
  gap: calc(var(--space-8) / 2);
  color: var(--text-medium);
  font-size: var(--text-sm);
  font-style: normal;
}
.ftr-me {
  display: grid;
  gap: var(--space-8);
}
.ftr-name {
  font-size: var(--text-lg);
}
.ftr-detail a {
  color: inherit;
}
.ftr-brand {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.ftr-gem {
  display: block;
  width: clamp(80px, 19vw, 116px);
  aspect-ratio: 1;
}
.ftr-wordmark {
  font: 700 calc(clamp(3rem, 8vw, 4.7rem) * var(--text-scale))/1 var(--font-brand);
  color: #fff;
  text-shadow: none;
}
.ftr-social > a { width: var(--target); height: var(--target); min-height: var(--target); border-radius: 50%; corner-shape: round; transition: transform 150ms ease, border-color 150ms ease; }
@media (hover: hover) {
  .ftr-social > a:hover { transform: translateY(-2px); }
}
[data-motion='off'] .ftr-social > a:hover { transform: none; }
@media (prefers-reduced-motion: reduce) { .ftr-social > a:hover { transform: none; } }
.ftr-social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}
.ftr-connect .ftr-social { justify-content: flex-end; }
@media (max-width: 48rem) {
  .ftr-top {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }
  .ftr-connect {
    justify-items: center;
    text-align: center;
  }
  .ftr-detail {
    justify-items: center;
  }
  .ftr-connect .ftr-social { justify-content: center; }
}
.ftr-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: var(--space-16);
  margin-top: var(--space-32);
}
.ftr-col {
  min-width: 0;
  min-height: 18rem;
  padding: var(--space-16);
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card-surface);
  box-shadow: var(--shadow-card);
}
.ftr-sub {
  grid-column: span 2;
}
[data-theme='light'] .site-footer .ftr-cols > .ftr-col {
  --surface: #fff;
  --surface-alt: #eef1f6;
  --card-surface: var(--surface);
  --text-dark: #11181c;
  --text-medium: #687076;
  --text-light: #687076;
  --line: #dce2eb;
  --line-strong: #a4afbf;
  color: var(--text-dark);
}
.ftr-priority {
  grid-column: span 2;
}
.ftr-msg {
  grid-column: 2 / -1;
}
.ftr-label {
  margin-bottom: var(--space-8);
  font: var(--weight-strong) var(--text-xs)/1.4 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-medium);
}
.ftr-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-8);
}
.ftr-list a, .ftr-plain {
  display: flex;
  gap: var(--space-8);
  align-items: center;
  color: var(--text-medium);
  text-decoration: none;
}
.ftr-list a:hover {
  color: var(--text-dark);
}
.ftr-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  border: var(--stroke) solid var(--line);
  border-radius: .5rem;
  background: color-mix(in srgb, var(--text-dark) 4%, transparent);
}
.ftr-project-pages {
  margin-top: var(--space-16);
}
.ftr-project-pages .ftr-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}
.ftr-msg, .ftr-sub, .ftr-sub-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}
.ftr-msg-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}
.ftr-msg-row input {
  flex: 1 1 12rem;
  width: auto;
}
.ftr-sub-form button {
  align-self: flex-start;
}
.ftr-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-16);
  margin-top: var(--space-32);
  padding-top: var(--space-24);
  border-top: var(--stroke) solid var(--line-strong);
  font-size: var(--text-xs);
}
@media (max-width: 60rem) {
  .ftr-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ftr-msg {
    grid-column: 1 / -1;
  }
}
@media (max-width: 40rem) {
  .ftr-wrap {
    padding-bottom: calc(var(--bar-clearance-bottom) + var(--space-16));
  }
  .ftr-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ftr-col-wide {
    grid-column: span 2;
  }
}

}


/* shared compact page gutters */
@media all {
/* Shared compact page gutters. */
@media (max-width: 40rem) {
  .site-main {
    padding-inline: var(--space-16);
  }
}

}


/* home name */
@media all {
/* Home name. */
.home-main {
  --home-hold: 1500px;
  --home-name-size: min(22vw, 12rem);
  --stack-font: Handlee, var(--font-hand);
  --stack-step: 3.75rem;
  --stack-corner: 32px;
  --stack-floor: calc(var(--bar-clearance-top) + .5rem);
  --stack-foot: 2rem;
  --stack-height: min(40rem, calc(var(--page-height) - var(--stack-floor) - var(--stack-foot)));
  --stack-top: clamp(var(--stack-floor), calc((var(--page-height) - var(--stack-height)) / 2), calc(var(--page-height) - var(--stack-foot) - var(--stack-height)));
  --stack-gap: max(2rem, calc(var(--page-height) - var(--stack-step) - var(--stack-top) - var(--stack-height)));
  --stack-pad: var(--space-24);
  --stack-bleed: max(clamp(.75rem, 3vw, 2rem), calc((min(100vw, 72rem) - min(100vw, 210mm)) / 2));
  --unit-head: 9rem;
  --unit-foot: clamp(5.5rem, calc(var(--page-height) * .11), 8rem);
  overflow: visible;
}
.home-intro {
  min-height: calc(var(--page-height) * .8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
  padding: calc(var(--bar-clearance-top) + var(--space-32)) var(--space-24) var(--space-32);
  color: var(--on-sky);
  text-align: center;
}
html[data-sky] .home-intro::before { inset-inline: 0; }
.home-greeting, .home-about { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 400; line-height: var(--leading-heading); }
.home-greeting { margin: 0; }
.home-hero-links { flex: none; width: auto; max-width: 100%; flex-wrap: wrap; justify-content: center; overflow: visible; }
.home-hero-links > :first-child, .home-hero-links > :last-child { margin: 0; }
.home-about { max-width: 48rem; margin: 0; text-wrap: balance; }
.home-name-slot {
  width: 100%;
  height: var(--home-name-size);
  flex: none;
}
.home-heading {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  width: max-content;
  max-width: none;
  margin: 0;
  font-size: var(--home-name-size);
  transform: translate(calc(50vw - 50%), calc(50svh - 50%));
  transform-origin: 0 0;
  pointer-events: none;
  transition: none;
}
html[data-sky] .home-heading { text-shadow: none; }
body:has(.home-heading) .site-brand-indicator { opacity: 0; visibility: hidden; }
body:has(.home-heading) .site-brand-text { font-weight: 400; }
[data-home-scroll='static'] .home-heading { position: static; margin-inline: auto; transform: none; }
[data-home-scroll='static'] .site-brand-indicator { opacity: 1; visibility: visible; }
body:has(.home-heading) .site-brand-text .wordmark-i-stem { clip-path: none; }
body:has(.home-heading) .site-brand-text .wordmark-i-gem { visibility: hidden; }
[data-home-scroll='css']:not([data-motion='off']) .home-heading,
[data-home-scroll='css']:not([data-motion='off']) .home-name-text,
[data-home-scroll='css']:not([data-motion='off']) .site-brand-indicator {
  animation: home-name-scroll 1s linear both;
  animation-timeline: scroll(root);
  animation-range: 0px var(--home-dock);
}
[data-home-scroll='css']:not([data-motion='off']) .site-brand-indicator { animation-name: home-brand-scroll; visibility: visible; }
[data-home-scroll='css']:not([data-motion='off']) .home-heading {
  top: var(--home-name-y);
  left: var(--home-name-x);
  transform: none;
  animation-name: home-name-scroll, home-name-x, home-name-y;
  animation-timing-function: linear, var(--home-name-x-easing), var(--home-name-y-easing);
}
.home-name-text { display: block; transform-origin: 0 0; }
.home-heading .wordmark-i-gem {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  pointer-events: auto;
}
[data-home-scroll='css']:not([data-motion='off']) .home-name-text {
  animation-name: home-name-scale;
  animation-timing-function: linear;
}
[data-home-scroll='css'] .wordmark-i-stem {
  animation: home-name-stem 1s linear both;
  animation-timeline: scroll(root);
  animation-range: 0px var(--home-dock);
}
[data-home-scroll='css'] .home-flying-gem {
  position: fixed;
  z-index: 3;
  left: var(--home-gem-x);
  top: var(--home-gem-y);
  width: var(--home-gem-size);
  height: var(--home-gem-size);
  padding: 0;
  border: 0;
  background: none;
  transform-origin: 50% 50%;
  animation: home-gem-x 1s var(--home-name-x-easing) both, home-gem-y 1s var(--home-name-y-easing) both, home-gem-flight 1s linear both;
  animation-timeline: scroll(root);
  animation-range: 0px var(--home-dock);
}
[data-home-scroll='css'] .home-flying-gem > svg {
  animation: home-gem-size 1s linear both;
  animation-timeline: scroll(root);
  animation-range: 0px var(--home-dock);
  filter: none;
}
[data-home-scroll='css'] .site-brand-mark,
[data-home-scroll='css'] .site-brand-text {
  animation: home-gem-docked 1s step-end both;
  animation-timeline: scroll(root);
  animation-range: 0px var(--home-dock);
}
@keyframes home-gem-x { from { translate: 0; } to { translate: var(--home-gem-dx); } }
@keyframes home-gem-y { from { transform: translateY(0); } to { transform: translateY(var(--home-gem-dy)); } }
@keyframes home-gem-size { from { scale: 1; } to { scale: var(--home-gem-scale); } }
@keyframes home-gem-flight { from, 99.9% { visibility: visible; } to { visibility: hidden; } }
@keyframes home-gem-docked { from { visibility: hidden; } to { visibility: visible; } }
@keyframes home-name-stem { from { clip-path: inset(30% 0 0); } to { clip-path: inset(0); } }
@keyframes home-name-scroll {
  0% { color: #ece8df; opacity: 1; }
  82% { color: #ece8df; opacity: 1; }
  99.9% { opacity: 1; }
  100% { color: var(--text-dark); opacity: 0; }
}
@keyframes home-name-x {
  from { translate: 0; }
  to { translate: var(--home-name-dx); }
}
@keyframes home-name-y {
  from { transform: translateY(0); }
  to { transform: translateY(var(--home-name-dy)); }
}
@keyframes home-name-scale {
  from { transform: scale(1); }
  to { transform: scale(var(--home-name-scale)); }
}
@keyframes home-brand-scroll {
  0%, 82% { opacity: 0; }
  100% { opacity: 1; }
}
.home-opening { position: relative; }
.home-opening::after { content: ''; display: block; height: var(--home-hold); }
.home-scene {
  position: sticky;
  top: calc(-1 * (var(--page-height) - var(--unit-foot) - var(--stack-step)));
  will-change: transform;
}
[data-home-scroll='css'] .home-stack > .career-section,
[data-home-scroll='css'] .stack-shade {
  animation: var(--stack-animation) 1s linear both;
  animation-timeline: scroll(root);
  animation-range: var(--stack-start) var(--stack-end);
}
[data-home-scroll='css']:not([data-motion='off']) .home-scene .u-stage {
  animation: home-device-exit 1s var(--home-exit-easing) both;
  animation-timeline: scroll(root);
  animation-range: var(--home-exit-start) var(--home-exit-end);
}
@keyframes home-device-exit {
  from { transform: scale(1); filter: brightness(1); }
  to { transform: scale(.78); filter: brightness(.4); }
}
@media (max-width: 40rem) {
  .home-greeting, .home-about { font-size: calc(2.25rem * var(--text-scale)); }
  .home-main {
    --stack-step: 3.15rem;
    --stack-corner: 20px;
    --stack-floor: 1rem;
    --stack-foot: var(--bar-clearance-bottom);
    --stack-height: min(35rem, calc(var(--page-height) - var(--stack-floor) - var(--stack-foot)));
    --stack-pad: var(--space-16);
    --unit-head: 5.5rem;
    --unit-foot: calc(7rem + var(--safe-bottom));
  }
}
html.no-js .home-heading { position: static; margin-inline: auto; transform: none; }

}


/* home device shell */
@media all {
/* Home device shell. */
[data-device-color="ruby"] {
  --screen-rgb: 255 59 48;
}
[data-device-color="citrine"] {
  --screen-rgb: 255 204 0;
}
[data-device-color="emerald"] {
  --screen-rgb: 52 199 89;
}
[data-device-color="sapphire"] {
  --screen-rgb: 0 122 255;
}
[data-device-color="amethyst"] {
  --screen-rgb: 175 82 222;
}
[data-device-color="diamond"] {
  --screen-rgb: 255 255 255;
}
#landing {
  position: relative;
  overflow: visible;
  height: var(--page-height);
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: calc(var(--unit-head) + var(--safe-top)) clamp(1.5rem, 7vw, 6rem) var(--unit-foot);
  scroll-margin-top: var(--bar-clearance-top, 6rem);
}
.u-stage {
  transform-origin: 50% 100%;
  position: relative;
  overflow: visible;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  perspective: 1100px;
}
.device-model {
  position: absolute;
  inset: -64px;
  max-width: none;
  max-height: none;
  pointer-events: none;
}
.device-3d-ready > #unit {
  z-index: 1;
  transform-style: flat;
}
.device-3d-ready #unit-body {
  background: transparent;
  box-shadow: 0 16px 36px rgb(0 0 0 / 0.35);
}
.device-3d-ready :is(#unit-body, #unit-deck, .unit-key, .sound-dial) {
  transform-style: flat;
}
.device-3d-ready :is(#unit-body, .unit-key, .sound-dial)::after {
  display: none;
}
.device-3d-ready #key-restart,
.device-3d-ready #unit #key-sound {
  background: transparent;
  box-shadow: none;
}
.device-3d-ready #key-sound > * { visibility: hidden; }
.device-3d-ready #unit .mode-key,
.device-3d-ready #unit .mode-key .key-face {
  background: transparent;
  box-shadow: none;
  color: transparent;
  text-shadow: none;
  transform: none;
  border-color: transparent;
}
.device-3d-ready .mode-key svg { visibility: hidden; }
.device-3d-ready :is(.ant-base, .ant-whip) {
  visibility: hidden;
}
.device-3d-ready :is(.unit-key, .sound-dial) {
  --u-z: 0;
}
@property --u-z {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
#unit {
  --u-z: 0;
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  animation: unit-build 2.8s cubic-bezier(0.32, 0.08, 0.2, 1) backwards;
  --u-body-1: #f8f9f8;
  --u-body-2: #e7e9e8;
  --u-body-3: #c8cbc9;
  --u-metal-1: #14161a;
  --u-metal-2: #0a0b0e;
  --u-metal-3: #050608;
  --u-knob-1: #2b2e32;
  --u-knob-2: #17191c;
  --u-knob-3: #0a0b0d;
  --u-mast-1: #575c63;
  --u-mast-2: #2a2d31;
  --u-mast-3: #0b0c0e;
  --u-cap-1: #ff4034;
  --u-cap-2: #b81c14;
  --u-cap-3: #5e0a06;
  --u-cap-hi: 255 196 186;
  --u-key-1: #2c2f33;
  --u-key-2: #17191c;
  --u-key-3: #0a0b0d;
  --u-key-4: #131518;
  --u-dial-1: #2e3135;
  --u-dial-2: #16181b;
  --u-ink: 30 33 37;
  --u-key-ink: 236 239 241;
  --u-key-ink-on: 255 255 255;
  --u-bezel: #101416;
  --u-bezel-ring: #101416;
  --u-bezel-w: 7px;
  --u-screen-corner: 20px;
  --u-frame-gap: calc(clamp(0.7rem, 1.6vw, 1.1rem) + 6.5px);
  --u-corner: calc(var(--u-screen-corner) + var(--u-frame-gap));
  --u-shell-top: 255 255 255 / 1;
  --s-rgb: var(--screen-rgb, 74 235 130);
  --s-glow-rgb: var(--s-rgb);
  --s-base: rgb(var(--s-rgb));
  --s-well-1: color-mix(in srgb, var(--s-base) 14%, #26352c);
  --s-well-2: color-mix(in srgb, var(--s-base) 8%, #1d2822);
  --s-ink: #e0eadb;
  --s-mid: #bfd0b9;
  --s-bright: #edf4e8;
  --s-max: #f7fbf3;
  --s-body: var(--s-bright);
  --s-hello: color-mix(in srgb, var(--s-base) 40%, white);
  --s-dim: #bfd0b9;
  --s-chip: color-mix(in srgb, var(--s-well-1) 88%, var(--s-ink));
  --s-line: color-mix(in srgb, var(--s-ink) 30%, var(--s-well-2));
  --s-status: #ffd09a;
  --s-dot: color-mix(in srgb, var(--s-base) 90%, white);
  --s-caret: color-mix(in srgb, var(--s-base) 65%, white);
  position: relative;
  width: min(180mm, 100%);
  margin-inline: auto;
  display: flex;
  align-items: stretch;
}
[data-mode='light'] #unit {
  --s-well-1: #a2ad95;
  --s-well-2: #8e9b81;
  --s-ink: #0a100b;
  --s-mid: #192715;
  --s-bright: #081209;
  --s-max: #030904;
  --s-body: #0a100b;
  --s-hello: #081209;
  --s-dim: #192715;
  --s-chip: #b3bea7;
  --s-status: #3b1f04;
  --s-dot: #0a100b;
  --s-caret: #081209;
}
[data-mode='dark'] #unit {
  --u-body-1: #101416;
  --u-body-2: #080b0d;
  --u-body-3: #030506;
  --u-ink: 200 210 216;
}
html[data-device-loading] #unit {
  animation: none;
  --u-z: 1;
  transform: rotateX(15deg);
}
@keyframes unit-build {
  from {
    --u-z: 1;
    transform: rotateX(15deg);
  }
  to {
    --u-z: 0;
    transform: none;
  }
}
#unit-body, #unit-deck {
  transform-style: preserve-3d;
}
#unit-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 26px;
  opacity: var(--u-z);
  transform-origin: 50% 0;
  transform: rotateX(-90deg);
  border-radius: 0 0 var(--u-corner) var(--u-corner);
  background: linear-gradient(#6b6f6d, #2f3231);
}
@media (prefers-reduced-motion: reduce) {
  #unit, .u-stage, #crt {
    animation: none;
  }
  #crt {
    display: none;
  }
  html[data-device-loading] #unit {
    --u-z: 0;
    transform: none;
  }
}
#antenna {
  position: absolute;
  bottom: 100%;
  right: 2.4rem;
  width: 4.8rem;
  height: 3.3rem;
}
.ant-base {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.1rem;
  border-radius: 5px 5px 0 0;
  background: repeating-linear-gradient(0deg, rgb(255 255 255 / 0.1) 0 1px, transparent 1px 3px), linear-gradient(90deg, #62696d, #bec5c8 17%, #eef1f2 31%, #aab2b6 55%, #747e83 85%, #4d555a);
  box-shadow: inset 0 1px 0 #f2f5f6, inset 0 -3px 3px rgb(31 39 44 / 0.55), inset 1px 0 0 rgb(255 255 255 / 0.3);
}
.ant-whip {
  position: absolute;
  bottom: 1.1rem;
  left: 70%;
  width: 2rem;
  height: 2.2rem;
  transform: translateX(-50%);
  border-radius: 6px 6px 0 0;
  background: repeating-linear-gradient(0deg, rgb(27 40 48 / 0.1) 0 1px, transparent 1px 3px), linear-gradient(90deg, #626d73, #c8d0d4 19%, #f7fafb 30%, #c2cbd0 40%, #8e9ba3 68%, #4d5a63);
  box-shadow: inset 0 2px 1px rgb(255 255 255 / 0.7), inset 0 -2px 2px rgb(37 48 55 / 0.4), inset -1px 0 1px rgb(23 34 42 / 0.35);
}
#unit-knobs {
  position: absolute;
  bottom: calc(100% - 0.9rem);
  left: 2.4rem;
  display: flex;
  align-items: flex-end;
  gap: 1.4rem;
  z-index: -1;
}
.knob {
  width: 4.6rem;
  height: 2.5rem;
  border-radius: 0.45rem 0.45rem 3px 3px;
  --ridges: linear-gradient(90deg, transparent 0.03%, rgb(255 255 255 / 0.09) 0.03%, rgb(255 255 255 / 0.09) 0.19%, rgb(0 0 0 / 0.55) 0.19%, rgb(0 0 0 / 0.55) 0.35%, transparent 0.35%, transparent 1.43%, rgb(255 255 255 / 0.09) 1.43%, rgb(255 255 255 / 0.09) 1.70%, rgb(0 0 0 / 0.55) 1.70%, rgb(0 0 0 / 0.55) 1.98%, transparent 1.98%, transparent 4.24%, rgb(255 255 255 / 0.09) 4.24%, rgb(255 255 255 / 0.09) 4.68%, rgb(0 0 0 / 0.55) 4.68%, rgb(0 0 0 / 0.55) 5.13%, transparent 5.13%, transparent 8.44%, rgb(255 255 255 / 0.09) 8.44%, rgb(255 255 255 / 0.09) 9.04%, rgb(0 0 0 / 0.55) 9.04%, rgb(0 0 0 / 0.55) 9.64%, transparent 9.64%, transparent 13.90%, rgb(255 255 255 / 0.09) 13.90%, rgb(255 255 255 / 0.09) 14.64%, rgb(0 0 0 / 0.55) 14.64%, rgb(0 0 0 / 0.55) 15.39%, transparent 15.39%, transparent 20.46%, rgb(255 255 255 / 0.09) 20.46%, rgb(255 255 255 / 0.09) 21.32%, rgb(0 0 0 / 0.55) 21.32%, rgb(0 0 0 / 0.55) 22.18%, transparent 22.18%, transparent 27.92%, rgb(255 255 255 / 0.09) 27.92%, rgb(255 255 255 / 0.09) 28.87%, rgb(0 0 0 / 0.55) 28.87%, rgb(0 0 0 / 0.55) 29.82%, transparent 29.82%, transparent 36.04%, rgb(255 255 255 / 0.09) 36.04%, rgb(255 255 255 / 0.09) 37.06%, rgb(0 0 0 / 0.55) 37.06%, rgb(0 0 0 / 0.55) 38.07%, transparent 38.07%, transparent 44.60%, rgb(255 255 255 / 0.09) 44.60%, rgb(255 255 255 / 0.09) 45.64%, rgb(0 0 0 / 0.55) 45.64%, rgb(0 0 0 / 0.55) 46.69%, transparent 46.69%, transparent 53.31%, rgb(255 255 255 / 0.09) 53.31%, rgb(255 255 255 / 0.09) 54.36%, rgb(0 0 0 / 0.55) 54.36%, rgb(0 0 0 / 0.55) 55.40%, transparent 55.40%, transparent 61.93%, rgb(255 255 255 / 0.09) 61.93%, rgb(255 255 255 / 0.09) 62.94%, rgb(0 0 0 / 0.55) 62.94%, rgb(0 0 0 / 0.55) 63.96%, transparent 63.96%, transparent 70.18%, rgb(255 255 255 / 0.09) 70.18%, rgb(255 255 255 / 0.09) 71.13%, rgb(0 0 0 / 0.55) 71.13%, rgb(0 0 0 / 0.55) 72.08%, transparent 72.08%, transparent 77.82%, rgb(255 255 255 / 0.09) 77.82%, rgb(255 255 255 / 0.09) 78.68%, rgb(0 0 0 / 0.55) 78.68%, rgb(0 0 0 / 0.55) 79.54%, transparent 79.54%, transparent 84.61%, rgb(255 255 255 / 0.09) 84.61%, rgb(255 255 255 / 0.09) 85.36%, rgb(0 0 0 / 0.55) 85.36%, rgb(0 0 0 / 0.55) 86.10%, transparent 86.10%, transparent 90.36%, rgb(255 255 255 / 0.09) 90.36%, rgb(255 255 255 / 0.09) 90.96%, rgb(0 0 0 / 0.55) 90.96%, rgb(0 0 0 / 0.55) 91.56%, transparent 91.56%, transparent 94.87%, rgb(255 255 255 / 0.09) 94.87%, rgb(255 255 255 / 0.09) 95.32%, rgb(0 0 0 / 0.55) 95.32%, rgb(0 0 0 / 0.55) 95.76%, transparent 95.76%, transparent 98.02%, rgb(255 255 255 / 0.09) 98.02%, rgb(255 255 255 / 0.09) 98.30%, rgb(0 0 0 / 0.55) 98.30%, rgb(0 0 0 / 0.55) 98.57%, transparent 98.57%, transparent 99.65%, rgb(255 255 255 / 0.09) 99.65%, rgb(255 255 255 / 0.09) 99.81%, rgb(0 0 0 / 0.55) 99.81%, rgb(0 0 0 / 0.55) 99.97%, transparent 99.97%);
  background: var(--ridges), linear-gradient(var(--u-knob-1), var(--u-knob-2) 55%, var(--u-knob-3));
  box-shadow: inset 0 2px 2px rgb(255 255 255 / 0.14), inset 0 -8px 10px rgb(0 0 0 / 0.7), inset 7px 0 9px rgb(0 0 0 / 0.42), inset -7px 0 9px rgb(0 0 0 / 0.42);
  position: relative;
  bottom: 0.9rem;
}
.knob::after {
  content: "";
  position: absolute;
  top: 0.22rem;
  left: var(--mark-x, 50%);
  width: 2px;
  height: 0.5rem;
  border-radius: 2px;
  transform: translateX(-50%);
  background: rgb(236 239 242 / 0.85);
  opacity: var(--mark-on, 1);
  box-shadow: 0 0 4px rgb(0 0 0 / 0.5);
}
#key-restart {
  position: relative;
  bottom: 0.2rem;
  width: 3.1rem;
  height: 22px;
  clip-path: inset(0 0 11px);
  border: 0;
  padding: 0;
  border-radius: 0.45rem 0.45rem 3px 3px;
  cursor: pointer;
  background: linear-gradient(var(--u-cap-1), var(--u-cap-2) 60%, var(--u-cap-3));
  box-shadow: inset 0 2px 2px rgb(var(--u-cap-hi) / 0.35), inset 0 -8px 10px rgb(0 0 0 / 0.6), inset 5px 0 7px rgb(0 0 0 / 0.35), inset -5px 0 7px rgb(0 0 0 / 0.35);
}
#key-restart:hover {
  filter: brightness(1.2);
}
#key-restart:active {
  transform: translateY(2px);
}
#unit-body {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: var(--u-frame-gap);
  border-radius: var(--u-corner);
  background: linear-gradient(160deg, var(--u-body-1), var(--u-body-2) 58%, var(--u-body-3));
  box-shadow: 0 16px 36px rgb(0 0 0 / 0.62), inset 0 2px 0 rgb(var(--u-shell-top)), inset 0 0 0 1px rgb(255 255 255 / 0.75), inset 0 -14px 26px rgb(18 22 27 / 0.22), inset 0 -1px 0 rgb(18 22 27 / 0.3);
}
@media (max-width: 52rem) {
  #landing {
    padding-inline: clamp(28px, 8vw, 40px);
  }
  .u-stage > :is(#unit, .device-slot) {
    height: 100%;
    max-height: 560px;
    align-self: center;
  }
  #antenna {
    right: 1.6rem;
  }
}

}


/* home device screen and startup */
@media all {
/* Home device screen and startup. */
#screen {
  font-family: var(--font-mono, ui-monospace, monospace);
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  --screen-pad: clamp(0.9rem, 2vw, 1.4rem);
  padding: 0;
  overflow: clip;
  border-radius: var(--u-screen-corner);
  border: var(--u-bezel-w) solid var(--u-bezel);
  background: radial-gradient(120% 120% at 50% 30%, var(--s-well-1), var(--s-well-2) 70%);
  box-shadow: 0 0 0 1px var(--u-bezel-ring), 0 -3px 5px rgb(0 0 0 / .42), 0 1px 1px rgb(255 255 255 / .35);
}
#crt {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: #000;
  animation: crt-on 1.9s ease-out forwards;
}
#crt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: var(--s-bright);
  box-shadow: 0 0 18px 4px color-mix(in srgb, var(--s-mid) 80%, transparent);
  animation: crt-line 1.9s ease-out forwards;
}
@keyframes crt-on {
  0%, 34% {
    background: #000;
  }
  46% {
    background: rgb(0 0 0 / 0.55);
  }
  58% {
    background: color-mix(in srgb, var(--s-mid) 20%, transparent);
  }
  66% {
    background: rgb(0 0 0 / 0.4);
  }
  74% {
    background: color-mix(in srgb, var(--s-mid) 10%, transparent);
  }
  100% {
    background: transparent;
  }
}
@keyframes crt-line {
  0%, 30% {
    transform: scaleX(0);
    opacity: 0;
  }
  38% {
    transform: scaleX(1);
    opacity: 1;
  }
  52% {
    height: 2px;
    opacity: 1;
  }
  64% {
    height: 100%;
    top: 0;
    opacity: 0.45;
  }
  72%, 100% {
    height: 100%;
    top: 0;
    opacity: 0;
  }
}
#screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: repeating-linear-gradient(rgb(0 0 0 / .035) 0 1px, transparent 1px 3px);
}
#screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  box-shadow: inset 0 0 12px rgb(0 0 0 / .2);
}
#chat-header {
  position: relative;
  flex: none;
  display: grid;
  align-items: center;
  min-height: 3.5rem;
  padding: .6rem 3.5rem;
  border-bottom: 1px solid var(--s-line);
  color: var(--s-bright);
  text-align: center;
}
#chat-title {
  margin: 0;
  font: 600 calc(1.1rem * var(--text-scale))/1.3 var(--font-mono, monospace);
}
#games-panel {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: var(--screen-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
}
.game-picker { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
#games-panel button { border: 1px solid var(--s-line); border-radius: 7px; background: var(--s-chip); color: var(--s-ink); padding: .6rem .8rem; min-height: 44px; font: 700 .8rem var(--font-mono); }
#games-panel button[aria-pressed="true"] { background: var(--s-bright); color: var(--s-well-2); }
#game-score, #game-status { margin: 0; text-align: center; font-size: .8rem; line-height: 1.5; }
#game-canvas { display: block; width: 100%; max-width: 600px; max-height: 42vh; min-height: 100px; object-fit: contain; border: 1px solid var(--s-line); border-radius: 7px; }
#game-action { min-width: 8rem; }
#games-panel button:focus-visible { outline: 2px solid var(--s-bright); outline-offset: 2px; }
#chat-scroll[hidden], #chat-scrollbar[hidden], #chat-log[hidden], #chat-chips[hidden], #games-panel[hidden] { display: none; }
#chat-scroll { position: relative; display: flex; flex: 1; min-height: 0; }
#chat-scrollbar { top: 25%; right: 8px; height: 50%; opacity: 1; pointer-events: auto; touch-action: none; cursor: grab; --scroll-track: color-mix(in srgb, var(--s-ink) 12%, transparent); }
#chat-scrollbar > i { background: var(--s-ink); }
#chat-scrollbar:focus-visible { outline: 2px solid var(--s-ink); outline-offset: 2px; }
#chat-log {
  padding: var(--screen-pad);
  padding-right: calc(var(--screen-pad) + 8px);
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  overflow-y: auto;
  overscroll-behavior: auto;
  scrollbar-width: none;
}
#device-fullscreen #chat-log {
  overscroll-behavior: contain;
}
#chat-log > * {
  flex: none;
}
#chat-log::-webkit-scrollbar { display: none; }
#chat-hello {
  display: flex;
  flex-direction: column;
  margin: 0 0 0.4rem;
  font-family: var(--font-display), serif;
  font-weight: var(--weight-strong);
  font-size: calc((clamp(2.75rem, 8.5vw, 5.75rem)) * var(--text-scale));
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--s-hello);
  text-shadow: none;
}
.hello-greet, .hello-welcome {
  font-size: calc((clamp(1.375rem, 4.25vw, 2.875rem)) * var(--text-scale));
  line-height: 1.08;
  min-height: 1.08em;
}
.hello-name {
  font-family: var(--font-brand, "Gadey", "Arial Black", sans-serif);
  font-weight: 400;
  line-height: 1;
  min-height: 1em;
  color: var(--s-max);
}
@media (max-width: 48rem) {
  #chat-hello {
    font-size: calc((clamp(3.5rem, 16vw, 5rem)) * var(--text-scale));
  }
  .hello-greet, .hello-welcome {
    font-size: calc((clamp(1.65rem, 7.5vw, 2.4rem)) * var(--text-scale));
  }
}
#caret, .type-caret {
  display: inline-block;
  width: 0.5em;
  height: 0.9em;
  margin-left: 0.08em;
  background: var(--s-caret);
  box-shadow: 0 0 10px rgb(var(--s-glow-rgb) / 0.6);
  vertical-align: -0.06em;
  animation: caret-blink 0.9s steps(1) infinite;
}
#caret {
  width: 0.4em;
  height: 0.85em;
  background: var(--s-hello);
  box-shadow: 0 0 10px color-mix(in srgb, var(--s-hello) 60%, transparent);
}
#caret[data-done="true"] {
  animation: none;
  opacity: 0;
}
.type-caret {
  animation: none;
  vertical-align: -0.12em;
  margin-left: 0.12em;
}
.type-caret[data-wait="true"] {
  animation: caret-blink 0.9s steps(1) infinite;
}
@keyframes caret-blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

}


/* home device messages */
@media all {
/* Home device messages. */
.msg {
  margin: 0;
  text-align: left;
  overflow-wrap: anywhere;
  max-width: 58ch;
  animation: msg-in 0.3s ease-out;
}
.msg-line {
  display: block;
}
.msg-line + .msg-line { margin-top: .6em; }
.boot {
  margin: 0;
  background: none;
  border: 0;
  padding: 0;
  overflow: visible;
  font-family: inherit;
  font-size: calc((0.72rem) * var(--text-scale));
  line-height: 1.5;
  color: var(--s-dim);
  white-space: pre;
}
.boot-art {
  color: var(--s-ink);
  text-shadow: none;
}
.msg-ai {
  color: var(--s-ink);
  line-height: 1.75;
  font-size: calc((0.8rem) * var(--text-scale));
  text-shadow: none;
}
.msg-user {
  margin-left: auto;
  width: fit-content;
  max-width: 85%;
  padding: 0.45rem 0.8rem;
  border-radius: 10px;
  background: var(--s-chip);
  border: 0;
  color: var(--s-bright);
  font-size: calc((0.78rem) * var(--text-scale));
}
@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.msg-sys {
  color: var(--s-mid);
  font-size: calc((0.74rem) * var(--text-scale));
  letter-spacing: 0.04em;
}
.msg-time {
  margin-right: 0.5rem;
  font-style: normal;
  color: var(--s-dim);
}
#chat-log a {
  color: var(--s-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
#chat-log a:hover {
  color: var(--s-max);
}
.msg-typing {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.4rem 0.1rem;
}
.msg-typing i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--s-dot);
  animation: dot-pulse 1s infinite ease-in-out;
}
.msg-typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.msg-typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes dot-pulse {
  0%, 100% {
    opacity: 0.25;
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
#screen[data-live] #chat-log > :is(.about-body, .links-list) {
  display: none;
}
.about-body {
  max-width: 46ch;
}
.about-body p {
  margin: 0 0 0.9em;
  color: var(--s-body);
  font-size: calc((0.82rem) * var(--text-scale));
  line-height: 1.7;
}
.links-list, .msg-links .links-list {
  display: grid;
  gap: 0.15rem;
}
.links-list a {
  display: grid;
  grid-template-columns: 15px 10.5rem 1fr;
  align-items: center;
  gap: 0 0.8rem;
  min-height: 2.1rem;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  text-decoration: none;
  color: var(--s-mid);
  text-shadow: none;
}
.links-list a:hover {
  background: rgb(var(--s-rgb) / 0.12);
}
.links-list svg {
  opacity: 0.7;
}
.links-note {
  color: var(--s-mid);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.links-full {
  grid-column: 2 / -1;
}
@media (max-width: 52rem) {
  .links-list a {
    grid-template-columns: 15px 1fr;
    gap: 0 0.55rem;
  }
  .links-note {
    grid-column: 2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .msg, #chat-chips button {
    animation: none;
  }
}
.msg-meta {
  display: block;
  margin-bottom: 0.35rem;
  font: 0.58rem/1.4 var(--font-mono, monospace);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--s-mid);
  text-shadow: none;
}
.msg-meta time {
  font-variant-numeric: tabular-nums;
}
#chat-log > .chat-intro {
  flex: 1 0 auto;
  display: grid;
  place-items: center;
  margin: 0;
  padding-block: var(--screen-pad);
  color: var(--s-ink);
  font: 500 1rem/1.5 var(--font-mono);
  text-align: center;
}
.chat-topic:empty { display: none; }
.chat-topic {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  width: 100%;
  max-width: none;
}
.chat-topic > * {
  flex: none;
}


}


/* home device question buttons */
@media all {
/* Home device question buttons. */
#chat-chips {
  flex: none;
  padding: 0 var(--screen-pad) .8rem;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: flex-start;
  gap: var(--space-8);
}
#chat-chips::-webkit-scrollbar { display: none; }
#chat-chips:empty {
  display: none;
}
#chat-chips button {
  flex: none;
  min-height: 2.25rem;
  white-space: nowrap;
  padding: 0.28rem 0.6rem;
  border: 1px solid var(--s-line);
  border-radius: 8px;
  background: var(--s-chip);
  color: var(--s-ink);
  font: inherit;
  font-size: calc((0.74rem) * var(--text-scale));
  text-align: left;
  cursor: pointer;
  animation: msg-in 0.3s ease-out backwards;
}
#chat-chips button[data-state="answered"] { opacity: .55; }
#chat-chips button[data-state="answered"]::after { content: "✓"; display: inline-block; margin-left: .45em; font-size: 1.4em; font-weight: 700; line-height: 1; vertical-align: -.08em; }
#chat-chips button[aria-busy="true"]::before, #chat-queue::before {
  content: "";
  display: inline-block;
  width: .8em;
  height: .8em;
  margin-right: .5em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -.1em;
  animation: queue-spin .8s linear infinite;
}
@keyframes queue-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  #chat-chips button[aria-busy="true"]::before, #chat-queue::before { animation: none; }
}
#chat-queue { flex-basis: 100%; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--s-mid); font-size: .7rem; }
#chat-chips button:hover {
  background: var(--s-ink);
  color: var(--s-well-2);
}

}


/* home device mode keys */
@media all {
/* Home device mode keys. */
.unit-key {
  position: relative;
  transform: translateZ(calc(12px * var(--u-z)));
  transform-style: preserve-3d;
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  text-decoration: none;
  height: 2.5rem;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(var(--u-key-1), var(--u-key-2));
  color: rgb(var(--u-key-ink) / 0.72);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: calc((0.56rem) * var(--text-scale));
  letter-spacing: 0.14em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1), inset 0 -3px 5px rgb(0 0 0 / 0.55), 0 1px 0 rgb(255 255 255 / 0.05), 0 3px 6px rgb(0 0 0 / 0.55);
}
.unit-key::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
  opacity: var(--u-z);
  transform-origin: 50% 0;
  transform: rotateX(-90deg);
  border-radius: 0 0 7px 7px;
  background: #0b0c0f;
}
#unit-deck {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(8px, 2.4vw, 12px);
  padding: 0 0.2rem;
}
.unit-key svg {
  flex: none;
  width: 11px;
  height: 11px;
  opacity: 0.8;
}
.unit-key:hover {
  color: rgb(var(--u-key-ink) / 0.85);
}
.unit-key:active {
  box-shadow: inset 0 4px 8px rgb(0 0 0 / 0.8), 0 0 0 rgb(0 0 0 / 0.5);
  transform: translateZ(calc(12px * var(--u-z))) translateY(2px);
}
.mode-key {
  --key-back: #303a41;
  --key-front: #65727d;
  --key-press: 1;
  border-radius: 10px;
  width: auto;
  min-width: 0;
  flex: none;
  min-height: 3rem;
  padding: 0;
  transform: none;
  background: var(--key-back);
  color: #edf1f3;
  letter-spacing: 0.02em;
  font-size: calc(1.125rem * var(--text-scale));
  font-weight: 700;
  box-shadow: 0 1px 2px rgb(25 30 34 / 0.25);
  transition: box-shadow 160ms ease;
}
@media (max-width: 40rem) {
  #unit-deck { flex-wrap: nowrap; gap: 8px; }
  .mode-key { min-height: 40px; font-size: calc(.875rem * var(--text-scale)); }
  #unit-deck .mode-key .key-face { padding-inline: .5rem; gap: .375rem; white-space: nowrap; }
  #unit-deck .mode-key svg { width: 16px; height: 16px; }
}
.mode-key::after {
  display: none;
}
.mode-key .key-face {
  position: relative;
  min-height: inherit;
  padding: 0 .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: inherit;
  background: var(--key-front);
  transform: translate(calc(var(--key-parallax-x, 0px) * var(--key-press)), calc(var(--key-parallax-y, -1.5px) * var(--key-press)));
  transition: transform 160ms ease, background-color 160ms ease;
}
.mode-key .key-label { line-height: 1; }
.mode-key svg {
  width: 20px;
  height: 20px;
  opacity: 1;
  stroke-width: 2;
}
.mode-key:is(:active, .self-press, [aria-pressed="true"]) {
  --key-press: 0;
  --key-front: #3d4953;
  transform: none;
  color: #edf1f3;
  text-shadow: none;
  box-shadow: inset 0 2px 3px rgb(0 0 0 / .45);
}
.mode-key:is(:active, .self-press, [aria-pressed="true"]) .key-face {
  box-shadow: inset 0 2px 4px rgb(0 0 0 / .4);
}
.mode-key:focus-visible {
  outline: 2px solid var(--s-bright);
  outline-offset: 4px;
}
#key-sound, #key-sound::before, #key-sound::after, #key-sound .dial-cap {
  corner-shape: round;
}

}


/* home device composer */
@media all {
/* Home device composer. */
#chat-ask {
  margin: 0;
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8);
  padding: .75rem var(--screen-pad);
  border-top: 1px solid var(--s-line);
  animation: ask-rise 0.28s ease-out backwards;
}
#chat-ask[hidden] {
  display: none;
}
@keyframes ask-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.ask-caret {
  flex: none;
  color: var(--s-mid);
  opacity: .62;
  font-size: calc((0.8rem) * var(--text-scale));
  line-height: 1;
}
.ask-line {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}
#ask-input {
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--s-bright);
  font: inherit;
  font-size: calc((0.8rem) * var(--text-scale));
  line-height: 1.4;
  caret-color: transparent;
}
#ask-input:focus {
  outline: none;
}
#ask-input::placeholder {
  color: var(--s-mid);
  opacity: .62;
}
.ask-blink {
  position: absolute;
  left: var(--ask-w, 0px);
  top: 50%;
  width: 0.5em;
  height: 0.95em;
  margin-top: -0.475em;
  background: var(--s-caret);
  box-shadow: 0 0 10px rgb(var(--s-glow-rgb) / 0.6);
  pointer-events: none;
  animation: caret-blink 0.9s steps(1) infinite;
}
.ask-mirror {
  position: absolute;
  left: -9999px;
  top: 0;
  white-space: pre;
  font: inherit;
  font-size: calc((0.8rem) * var(--text-scale));
}
@media (pointer: coarse) {
  #ask-input, .ask-mirror {
    font-size: max(16px, calc(16px * var(--text-scale)));
  }
}

}


/* home device sound dial */
@media all {
/* Home device sound dial. */
.sound-dial {
  transform: translateZ(calc(4px * var(--u-z)));
  transform-style: preserve-3d;
  position: relative;
  width: 3rem;
  height: 3rem;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: radial-gradient(circle at 50% 26%, color-mix(in srgb, var(--accent) 40%, #111), color-mix(in srgb, var(--accent) 30%, #111) 64%, #090b0d);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14), inset 0 -4px 7px rgb(0 0 0 / 0.75), 0 3px 7px rgb(0 0 0 / 0.65), 0 0 0 1px rgb(0 0 0 / 0.5);
}
.sound-dial::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 4px;
  opacity: var(--u-z);
  transform-origin: 50% 0;
  transform: rotateX(-90deg);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: #0b0c0f;
}
#deck-grille {
  flex: 1;
  min-width: 1.5rem;
  height: 2.25rem;
  margin-inline: 0.3rem;
}
#deck-grille::before {
  content: "";
  display: block;
  width: round(down, 100%, .5625rem);
  height: 100%;
  margin-inline: auto;
  background-image: radial-gradient(circle, #000 1.5px, transparent 1.9px);
  background-size: .5625rem .5625rem;
}
.dial-cap {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgb(255 255 255 / 0.1) 0deg 1.1deg, transparent 1.1deg 9deg);
  -webkit-mask-image: radial-gradient(circle, transparent 0 46%, #000 47%);
  mask-image: radial-gradient(circle, transparent 0 46%, #000 47%);
  transform: rotate(-48deg);
  transition: transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.dial-pointer {
  position: absolute;
  left: 50%;
  top: 0.2rem;
  width: 2px;
  height: 0.5rem;
  border-radius: 2px;
  margin-left: -1px;
  background: #fff;
  transform-origin: 50% 1.3rem;
  transform: rotate(-48deg);
  transition: transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1), background 0.3s ease, box-shadow 0.3s ease;
}
.dial-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  stroke-width: 2;
  transform: translate(-50%, -50%);
  color: #fff;
  filter: drop-shadow(0 1px 1px #000);
  transition: color 0.3s ease;
}
.sound-dial[aria-pressed="true"] .dial-cap {
  transform: rotate(48deg);
}
.sound-dial[aria-pressed="true"] .dial-pointer {
  transform: rotate(48deg);
  background: #fff;
  box-shadow: 0 1px 2px #000;
}
.sound-dial[aria-pressed="true"] .dial-mark {
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .dial-cap, .dial-pointer {
    transition: none;
  }
}
@media (max-width: 40rem) {
  #deck-grille {
    display: none;
  }
}

}


/* home device fullscreen */
@media all {
/* Home device fullscreen. */
.screen-control {
  position: relative;
  z-index: 7;
  flex: none;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid #303a41;
  border-radius: 10px;
  background: #3d4953;
  color: #edf1f3;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 1px 2px rgb(25 30 34 / .25);
  cursor: pointer;
}
#chat-header .screen-control {
  position: absolute;
  right: .25rem;
  border: 0;
  background: transparent;
  color: var(--s-bright);
  box-shadow: none;
}
#chat-header .screen-control:hover { background: var(--s-chip); }
#key-sound { margin-left: auto; }
.screen-control:hover { background: #4b5965; }
.screen-control:active { box-shadow: inset 0 2px 4px rgb(0 0 0 / .4); }
.screen-control:focus-visible { outline: 2px solid var(--s-bright); outline-offset: 2px; }
.screen-control:disabled { opacity: .35; cursor: default; }
.screen-control svg { width: 20px; height: 20px; stroke-width: 2; }
.collapse-icon, #key-expand[aria-expanded="true"] .expand-icon {
  display: none;
}
#key-expand[aria-expanded="true"] .collapse-icon {
  display: block;
}
html.no-js #key-expand {
  display: none;
}
.device-slot {
  width: min(180mm, 100%);
  margin-inline: auto;
  flex-shrink: 0;
}
html.device-expanded {
  overflow: hidden;
  overscroll-behavior: none;
}
html.device-expanded:not(.device-collapsing) body {
  position: fixed;
  top: var(--device-scroll-top);
  left: 0;
  right: 0;
}
#device-fullscreen {
  position: fixed;
  inset: 0;
  width: 100%;
  height: var(--visible-height);
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: clip;
  box-shadow: none;
  transform: none;
}
#device-fullscreen::backdrop {
  background: rgb(0 0 0 / 0.35);
}
#device-fullscreen[open] {
  display: block;
  perspective: 1100px;
}
#device-fullscreen #unit {
  position: absolute;
  max-width: none;
  margin: 0;
  animation: none;
  transform: none;
}
#unit[data-expanded] {
  left: 8px;
  top: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
}
#unit[data-expanded] #unit-body {
  padding: max(var(--u-frame-gap), env(safe-area-inset-top)) max(var(--u-frame-gap), env(safe-area-inset-right)) max(var(--u-frame-gap), env(safe-area-inset-bottom)) max(var(--u-frame-gap), env(safe-area-inset-left));
}
#unit[data-expanded] #unit-deck {
  flex: none;
}
#unit[data-expanded] #chat-log > .chat-topic {
  max-width: 716px;
  align-self: center;
}
#chat-hello { text-align: center; }
#unit:is([data-expanded], .device-morphing) :is(#antenna, #unit-knobs) {
  display: none;
}
.device-morphing {
  pointer-events: none;
}
@media (max-width: 40rem) {
  #unit[data-expanded] { left: 0; top: 0; width: 100%; height: 100%; }
  #unit[data-expanded] #unit-body { padding: 0; gap: 0; border-radius: 0; background: transparent; box-shadow: none; }
  #unit[data-expanded] #screen { border: 0; border-radius: 0; box-shadow: none; padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
  #unit[data-expanded] #unit-deck,
  #unit[data-expanded] #screen::after { display: none; }
  #device-fullscreen:has(#unit[data-expanded]) > .device-model { visibility: hidden; }
  #unit[data-expanded] #chat-header { padding-top: calc(.6rem + env(safe-area-inset-top)); }
  #unit[data-expanded] #chat-header .screen-control { top: calc(.25rem + env(safe-area-inset-top)); right: max(.25rem, env(safe-area-inset-right)); }
}


}


/* home invitation */
@media all {
/* Home invitation. */
.invitation {
  --gem-radius-x: min(43vw, 28rem);
  --gem-radius-y: min(34%, 16rem);
  position: relative;
  overflow: visible;
  height: calc(var(--page-height) - 2 * var(--stack-step));
  margin-top: calc(-1 * var(--unit-foot));
}
.invitation-copy {
  width: min(80vw, 210mm);
  height: 100%;
  align-content: center;
  padding-inline: clamp(.75rem, 3vw, 2rem);
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
  color: #f4f4f6;
  font: 400 calc(clamp(1.75rem, 5vw, 3.25rem) * var(--text-scale))/1.2 var(--stack-font);
  letter-spacing: var(--tracking-heading);
}
.invitation-word { color: var(--on-sky); }
.invitation-word.is-lit { color: var(--on-sky); }
.invitation-word.is-leading { color: var(--accent); }
[data-home-scroll='css']:not([data-motion='off']) .invitation-word {
  color: rgb(236 232 223 / .4);
  transition: none;
  animation: home-word-scroll 1s step-end forwards;
  animation-timeline: scroll(root);
  animation-range: var(--word-start) var(--word-end);
}
[data-home-scroll='css']:not([data-motion='off']) .invitation-word:last-child { animation-name: home-word-last; }
@keyframes home-word-scroll {
  from { color: var(--accent); }
  to { color: var(--on-sky); }
}
@keyframes home-word-last {
  from, to { color: var(--on-sky); }
}
@media (max-aspect-ratio: 1/1) { .invitation-copy { width: min(90vw, 210mm); } }
.fill-gem {
  position: absolute;
  z-index: 1;
  left: calc(50% + var(--gem-pos-x) * var(--gem-radius-x));
  top: calc(50% + var(--gem-pos-y) * var(--gem-radius-y));
  width: 3rem;
  height: 3rem;
  margin: -1.5rem;
  cursor: pointer;
  opacity: .9;
  translate: calc(var(--gem-x, 0px) * var(--gem-direction, 1)) calc(var(--gem-y, 0px) * var(--gem-direction, 1));
  transition: translate 160ms ease-out;
  animation: gem-sway calc(var(--sway, 4s) * .4) cubic-bezier(.37, 0, .63, 1) infinite alternate;
}
.fill-gem > svg {
  rotate: calc(var(--gem-angle, 0deg) * .5 + var(--gem-turn, 0deg) * var(--gem-direction, 1));
  transition: rotate 160ms ease-out;
}
.fg-1 { --gem-pos-x: -1; --gem-pos-y: 0; --gem-angle: -14deg; --sway: 4.7s; animation-delay: -1.7s; }
.fg-2 { --gem-pos-x: -0.707; --gem-pos-y: -0.707; --gem-angle: 16deg; --sway: 6.1s; animation-delay: -2s; }
.fg-3 { --gem-pos-x: 0; --gem-pos-y: -0.85; --gem-angle: -10deg; --sway: 3.9s; animation-delay: -1s; }
.fg-4 { --gem-pos-x: 0.707; --gem-pos-y: -0.707; --gem-angle: 12deg; --sway: 5.6s; animation-delay: -3s; }
.fg-5 { --gem-pos-x: 1; --gem-pos-y: 0; --gem-angle: -22deg; --sway: 4.3s; animation-delay: -.6s; }
.fg-6 { --gem-pos-x: 0.707; --gem-pos-y: 0.707; --gem-angle: 20deg; --sway: 5.3s; animation-delay: -1.4s; }
.fg-7 { --gem-pos-x: 0; --gem-pos-y: 0.85; --gem-angle: -6deg; --sway: 6.7s; animation-delay: -2.6s; }
.fg-8 { --gem-pos-x: -0.707; --gem-pos-y: 0.707; --gem-angle: 8deg; --sway: 4.9s; animation-delay: -.3s; }
.fill-gem:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 50%;
}
@keyframes gem-sway {
  from {
    transform: translateY(12px);
  }
  to {
    transform: translateY(-14px);
  }
}
@media (max-width: 40rem) {
  .invitation-copy {
    width: calc(100% - 6rem);
    padding-inline: 0;
    font-size: calc(clamp(1.75rem, 7.5vw, 2.25rem) * var(--text-scale));
  }
  .fill-gem {
    width: 2rem;
    height: 2rem;
    margin: -1rem;
    translate: clamp(-12px, calc(var(--gem-x, 0px) * var(--gem-direction, 1)), 12px) clamp(-9px, calc(var(--gem-y, 0px) * var(--gem-direction, 1)), 9px);
  }
}
@media (prefers-reduced-motion: reduce), print {
  .fill-gem {
    animation: none;
  }
}

}


/* scroll readers */
@property --scroll-depth-fade-top { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --scroll-depth-fade-bottom { syntax: '<length>'; inherits: false; initial-value: 0px; }
@media all {
.scroll-frame { position: relative; min-height: 0; overflow: visible; }
.scroll-depth-host { position: relative; }
.scroll-reader {
  overflow: auto;
  scrollbar-width: none;
}
.scroll-reader::-webkit-scrollbar { display: none; }
.scroll-depth.has-scroll-depth {
  -webkit-mask-image: none;
  mask-image: none;
}
.scroll-depth-overlay {
  position: absolute;
  z-index: 3;
  display: none;
  overflow: hidden;
  pointer-events: none;
}
.scroll-depth-overlay[hidden] { display: none; }
.scroll-depth-overlay::before, .scroll-depth-overlay::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: var(--scroll-depth-size, 28px);
  opacity: 0;
  will-change: opacity;
}
.scroll-depth-overlay::before {
  top: 0;
  opacity: var(--scroll-depth-top, 0);
  background: linear-gradient(rgb(0 0 0 / 0.2), rgb(0 0 0 / 0.08) 45%, transparent);
}
.scroll-depth-overlay::after {
  bottom: 0;
  opacity: 0;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.08) 55%, rgb(0 0 0 / 0.2));
}
.scroll-gauge, .collection-scrollbar, #chat-log {
  --scroll-track: color-mix(in srgb, var(--text-dark) 12%, transparent);
  --scroll-track-shadow: inset 0 1px 2px color-mix(in srgb, var(--text-dark) 14%, transparent);
  --scroll-thumb: #fff;
  --scroll-thumb-shadow: 0 1px 1px color-mix(in srgb, var(--text-dark) 14%, transparent);
}
.scroll-gauge {
  position: absolute;
  z-index: 4;
  top: var(--space-16);
  right: var(--space-8);
  height: min(30%, 7rem);
  width: 8px;
  padding: 2px;
  border-radius: var(--radius-pill);
  background: var(--scroll-track);
  box-shadow: var(--scroll-track-shadow);
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms ease;
}
.scroll-gauge[hidden] { display: none; }
.scroll-frame:is(:hover, :focus-within) .scroll-gauge { opacity: 1; }
.scroll-gauge > i {
  display: block;
  width: 4px;
  border-radius: var(--radius-pill);
  background: var(--scroll-thumb);
  box-shadow: var(--scroll-thumb-shadow);
}
@supports (animation-timeline: scroll(self)) and (timeline-scope: --reader) {
  .scroll-depth.has-scroll-depth {
    animation: reader-fade-top 1s linear both, reader-fade-bottom 1s linear both;
    animation-timeline: scroll(self);
    animation-range: 0px 28px, calc(100% - 28px) 100%;
  }
  .scroll-depth-overlay::before, .scroll-depth-overlay::after, .scroll-gauge > i {
    animation: reader-depth 1s linear both;
    animation-timeline: var(--reader-timeline);
    animation-range: 0px 32px;
  }
  .scroll-depth-overlay::after { animation-direction: reverse; animation-range: calc(100% - 32px) 100%; }
  .scroll-gauge > i { animation-name: reader-thumb; animation-range: normal; }
}
@supports not ((animation-timeline: scroll(self)) and (timeline-scope: --reader)) {
  .scroll-reader { scrollbar-width: thin; }
  .scroll-reader::-webkit-scrollbar { display: block; }
  .scroll-gauge { display: none; }
}
[data-motion='off'] .scroll-reader { scrollbar-width: thin; }
[data-motion='off'] .scroll-reader::-webkit-scrollbar { display: block; }
[data-motion='off'] .scroll-gauge { display: none; }
@media (prefers-reduced-motion: reduce) {
  .scroll-reader { scrollbar-width: thin; }
  .scroll-reader::-webkit-scrollbar { display: block; }
  .scroll-gauge { display: none; }
}
@keyframes reader-fade-top { from { --scroll-depth-fade-top: 0px; } to { --scroll-depth-fade-top: 28px; } }
@keyframes reader-fade-bottom { from { --scroll-depth-fade-bottom: 28px; } to { --scroll-depth-fade-bottom: 0px; } }
@keyframes reader-depth { from { opacity: 0; } to { opacity: 1; } }
@keyframes reader-thumb { from { transform: translateY(0); } to { transform: translateY(var(--thumb-travel)); } }
}


/* career collections shared with home and the catalogue */
@media all {
/* Career collections shared with Home and the catalogue. */
.career-entry ul {
  padding-left: var(--space-24);
}
.career-entry li + li {
  margin-top: 0;
}
.career-entry .identity-copy.stack {
  gap: 0;
}
.collection {
  display: flex;
  gap: var(--space-16);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-block: var(--space-8) var(--space-16);
}
.collection > * {
  flex: 0 0 min(85%, 27rem);
  scroll-snap-align: start;
}
.collection-control {
  max-width: 18rem;
}
.career-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  width: calc(100% - 2 * var(--space-16));
  max-width: 60rem;
  margin: var(--space-64) auto;
  padding: var(--space-32);
}
.home-stack {
  display: flow-root;
  max-width: 72rem;
  margin: calc(-1 * var(--home-hold)) auto 0;
}
.home-stack::before { content: ''; display: block; height: var(--home-hold); }
.home-stack > .career-section {
  --stack-index: 0;
  --stack-card-height: calc(var(--stack-height) - var(--stack-index) * var(--stack-step));
  position: sticky;
  top: calc(var(--stack-top) + var(--stack-index) * var(--stack-step));
  height: var(--stack-card-height);
  width: 100%;
  max-width: none;
  margin: 0 0 var(--stack-gap);
  padding: 0;
  gap: 0;
  border: 0;
  background: none;
  box-shadow: none;
  isolation: isolate;
  transform-origin: 50% 0;
  transition: none;
}
.home-stack > .career-section:first-child { bottom: calc(var(--stack-step) - var(--stack-height)); }
.home-stack > .career-section:nth-child(2) { --stack-index: 1; }
.home-stack > .career-section:nth-child(3) { --stack-index: 2; }
.home-stack > .career-section:nth-child(4) { --stack-index: 3; }
.home-stack > .career-section:nth-child(5) { --stack-index: 4; }
.home-stack > .career-section::before, .stack-shade {
  position: absolute;
  inset: 0 var(--stack-bleed);
  border-radius: var(--stack-corner);
}
.home-stack > .career-section::before {
  content: '';
  z-index: -2;
  background: var(--surface-layer);
  backdrop-filter: blur(5px) saturate(1.4);
  border: var(--stroke) solid var(--line);
  box-shadow: var(--shadow-surface);
}
.stack-shade {
  z-index: -1;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: none;
}
.home-stack .divider {
  flex: none;
  height: var(--stack-step);
  margin-inline: var(--stack-bleed);
  justify-content: center;
  color: var(--text-light);
}
.home-stack .divider::before, .home-stack .divider::after { display: none; }
.stack-heading {
  width: 100%;
  height: 100%;
  padding: 0 var(--stack-pad);
  border: 0;
  border-radius: var(--stack-corner);
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
.stack-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-16);
  min-height: 0;
  margin-inline: var(--stack-bleed);
  padding: var(--stack-pad);
  overflow: visible;
  border-radius: 0 0 var(--stack-corner) var(--stack-corner);
}
.home-stack .stack-body .section-intro {
  flex: 0 0 30%;
  min-height: min-content;
  align-items: center;
  justify-content: center;
  text-align: center;
  font: 400 calc(2.5rem * var(--text-scale))/1.2 var(--stack-font);
}
.home-stack .stack-body .section-intro > span + span { font: inherit; color: inherit; }
.home-stack .collection {
  flex: 1;
  min-height: 0;
  margin-inline: calc(-1 * var(--stack-pad));
  padding: var(--space-8) var(--stack-pad);
  scroll-padding-inline: var(--stack-pad);
  overflow-y: hidden;
}
.home-stack .collection::after { content: ''; flex: 0 0 var(--collection-end, calc(2 * var(--stack-pad))); }
.home-stack #work .entry-points {
  list-style: none;
  padding-left: var(--space-24);
}
.home-stack #work .entry-points li {
  position: relative;
}
.home-stack #work .entry-points li::before {
  content: '✦';
  position: absolute;
  top: 3px;
  right: calc(100% + var(--space-8) - 5px);
  width: var(--space-16);
  color: var(--text-medium);
  font-size: .975em;
  line-height: calc(1.6 / 1.5);
  text-align: left;
}
.home-stack #work .entry-points li::marker { content: ''; }
.career-entry:has(.entry-reader) { padding: 0; }
.entry-reader {
  height: 100%;
  min-height: 0;
  padding: var(--space-16);
  display: flex;
  flex-direction: column;
  gap: var(--career-gap);
}
.home-stack .carousel-position { margin-top: 12px; }
.stack-body > .button {
  position: absolute;
  bottom: var(--stack-pad);
  right: var(--stack-pad);
  max-width: calc(66.666% - 2 * var(--stack-pad));
  padding: 0;
  min-height: 16px;
  font-size: var(--text-xs);
  color: var(--accent);
  text-align: right;
}
.home-stack #projects .image-card { height: 100%; min-height: 0; }
.home-stack #projects .image-card .image-card-media img { transform: none; }
.home-stack #skills .stack-body, .home-stack #contact .stack-body { overflow-y: auto; }
.home-stack #contact .contact-section { padding: var(--space-16) 0 var(--space-8); }
@media (max-width: 40rem) {
  .home-stack .stack-body .section-intro { font-size: calc(1.625rem * var(--text-scale)); }
  .home-stack .collection > :is(.career-entry, .image-card) { flex-basis: 88%; }
}
@media print {
  .home-main { padding: 0; }
  .home-intro { min-height: 0; padding: 0; }
  .home-name-slot { display: none; }
  .home-heading, .home-opening::after, .home-stack::before, .home-stack::after { display: none; }
  .home-scene, .home-stack > .career-section { position: static; height: auto; transform: none !important; }
  .home-stack { margin: 0; }
  .invitation { height: auto; margin: 0; }
  .stack-body, .entry-reader { overflow: visible; }
  .stack-shade, .scroll-gauge { display: none; }
}
.career-section .section-intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  font: 600 var(--text-2xl)/var(--leading-heading) var(--font-display);
}
.career-role-line { display: flex; flex-direction: column; align-items: center; }
.career-role-founder { color: var(--accent); }
.section-intro > span + span {
  color: var(--text-medium);
  font: var(--text-md)/var(--leading-body) var(--font-body);
}
.career-section .collection {
  min-width: 0;
  scrollbar-width: none;
}
.career-section .collection > * {
  flex: 0 0 60%;
  min-width: 0;
}
.career-section .collection::-webkit-scrollbar {
  display: none;
}
.career-entry {
  --career-gap: calc(var(--space-16) * .75);
  display: flex;
  flex-direction: column;
  gap: var(--career-gap);
  box-shadow: var(--shadow-card);
}
.career-entry .entry-header {
  align-items: flex-start;
  padding-block: 0;
  margin-block: 0;
}
.career-entry .entry-title {
  font: 600 var(--text-md)/var(--leading-ui) var(--font-body);
}
.entry-logo {
  flex: 0 0 3.2rem;
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 2rem;
  line-height: 1;
  overflow: hidden;
}
.entry-logo img {
  width: var(--logo-size, 88%);
  height: var(--logo-size, 88%);
  object-fit: contain;
}
.entry-logo.logo-full {
  --logo-size: 100%;
}
.entry-logo.logo-small {
  --logo-size: 68%;
}
.entry-summary, .entry-points, .image-card-description {
  text-align: justify;
}
.entry-summary, .entry-points {
  color: var(--text-medium);
}
.entry-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.career-entry .entry-points { gap: var(--career-gap); }
.entry-points li::marker {
  content: '✦ ';
  color: var(--text-medium);
}
.carousel-position {
  align-self: flex-start;
  width: 33.333%;
}
.collection-scrollbar:disabled {
  visibility: hidden;
}
.collection-scrollbar {
  appearance: none;
  flex: none;
  height: 16px;
  min-height: 0;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
}
.collection-scrollbar::-webkit-slider-runnable-track {
  height: 8px;
  border: 0 solid transparent;
  border-inline-width: 2px;
  border-radius: var(--radius-pill);
  background: var(--scroll-track);
  box-shadow: var(--scroll-track-shadow);
}
.collection-scrollbar::-moz-range-track {
  height: 8px;
  border: 0 solid transparent;
  border-inline-width: 2px;
  border-radius: var(--radius-pill);
  background: var(--scroll-track);
  box-shadow: var(--scroll-track-shadow);
}
.collection-scrollbar::-webkit-slider-thumb {
  appearance: none;
  width: calc(var(--thumb-width, 40px) - 4px);
  height: 4px;
  margin-top: 2px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--scroll-thumb);
  box-shadow: var(--scroll-thumb-shadow);
}
.collection-scrollbar::-moz-range-thumb {
  width: calc(var(--thumb-width, 40px) - 4px);
  height: 4px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--scroll-thumb);
  box-shadow: var(--scroll-thumb-shadow);
}
.collection-scrollbar:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.career-section > .button {
  align-self: center;
}
html.no-js .carousel-position {
  display: none;
}
html.no-js .carousel {
  overflow: visible;
  flex-direction: column;
}
html.no-js .carousel > * {
  flex: auto;
}
@media (max-width: 40rem) {
  .career-section {
    padding: var(--space-16);
    gap: var(--space-16);
  }
  .career-section .collection > * {
    flex-basis: 88%;
  }
  .career-entry {
    padding: var(--space-16);
  }
}

}


/* home skills */
@media all {
/* Home Skills. */
.skill-rail {
  display: flex;
  gap: var(--skill-gap, var(--space-8));
  overflow-x: auto;
  padding: var(--space-8);
}
.skill-row {
  touch-action: pan-y;
  scroll-behavior: auto;
  scrollbar-width: none;
  gap: 0;
}
.skill-marquee-set { display: flex; gap: var(--skill-gap, var(--space-16)); padding-right: var(--skill-gap, var(--space-16)); flex: none; }
.skill-row.is-dragging { cursor: grabbing; user-select: none; }
.skill-marquee-set .skill-button { max-width: none; }
[data-motion='off'] .skill-copy-set { display: none; }
[data-motion='off'] .skill-row { touch-action: auto; scrollbar-width: thin; }
@media (prefers-reduced-motion: reduce) {
  .skill-copy-set { display: none; }
  .skill-row { touch-action: auto; scrollbar-width: thin; }
}
.skill-rail > * {
  flex: 0 0 auto;
  white-space: nowrap;
}
.skill-rows {
  --skill-gap: var(--space-16);
  display: flex;
  flex-direction: column;
  gap: var(--skill-gap);
  min-width: 0;
}
.skill-rows > .skill-rail { padding-block: 0; }
.skill-row { min-width: 0; }
.skill-button {
  flex: none;
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 3.5rem;
  justify-content: flex-start;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-16);
  border: var(--stroke) solid var(--line);
  border-radius: 1.1rem;
  background: var(--surface);
  color: var(--text-dark);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.skill-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: var(--leading-ui);
  min-width: 0;
}
.skill-emoji {
  flex: none;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--text-xl);
  height: var(--text-xl);
  font-size: var(--text-xl);
  line-height: 1;
}
.skill-emoji img { width: 100%; height: 100%; object-fit: contain; }
[data-mode='dark'] .skill-emoji .skill-logo-monochrome { filter: invert(1); }
.skill-title {
  font-size: var(--text-sm);
}
.skill-caption {
  font-size: var(--text-xs);
  color: var(--text-medium);
}
.skill-family {
  display: none;
}
.skills-dialog .dialog-body ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding-left: var(--space-24);
}
.skills-readable {
  padding: var(--space-24);
}
html.no-js .skill-rows {
  display: none;
}

}


/* home contact */
@media all {
/* Home Contact. */
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-24);
}
.contact-actions, .contact-links, .social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  color: var(--text-medium);
  font-size: var(--text-sm);
}
.social-link {
  border-radius: var(--radius-pill);
}

}


/* resume heading and paper */
@media all {
/* Resume heading and paper. */
.resume-sample {
  box-shadow: var(--shadow-card);
  gap: var(--space-24);
}
.resume-sample section.stack {
  gap: var(--space-16);
}
.resume-main {
  padding-inline: var(--space-24);
  padding-bottom: var(--space-64);
}
.career-intro {
  max-width: 64rem;
  margin: 0 auto var(--space-96);
}
.resume {
  --resume-gutter: var(--space-64);
  width: 100%;
  max-width: 64rem;
  padding: var(--space-64);
  gap: var(--space-24);
}
.resume section.stack {
  gap: var(--space-32);
  padding-top: var(--space-64);
}
.resume section.stack:last-of-type {
  padding-bottom: var(--space-64);
}
@media (max-width: 40rem) {
  .resume {
    padding: var(--space-24);
  }
}
@media (max-width: 48rem) {
  .resume { --resume-gutter: var(--space-16); }
}

}


/* resume section headings */
@media all {
/* Resume section headings. */
.resume-section-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-8);
  width: 100%;
  color: var(--text-medium);
  font: 700 var(--text-sm)/var(--leading-ui) var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}
.resume-section-title span {
  white-space: nowrap;
}
.resume-section-title i {
  display: block;
  border-top: var(--stroke) solid var(--line);
}

}


/* resume personal information */
@media all {
/* Resume personal information. */
.resume-sample-head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-16);
}
.resume-sample-head .resume-tight {
  flex: 1;
}
.resume-sample-head h3 {
  font: var(--text-2xl)/1.1 var(--font-brand);
  color: var(--accent);
}
.resume-sample-head img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.resume .career-name {
  color: var(--accent);
  font: var(--text-2xl)/1.1 var(--font-brand);
}
.resume .resume-photo {
  width: 26mm;
  height: 26mm;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex: none;
}
.resume-caption {
  color: var(--text-medium);
}
.resume section.resume-about {
  width: 100%;
  gap: var(--space-8);
  padding-top: 0;
}
.resume-about .resume-note {
  margin: 0;
}
.a4-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}
.a4-links a {
  overflow-wrap: anywhere;
}
.rainbow-contact {
  --contact-color-1: #ff3b30;
  --contact-color-2: #ffcc00;
  --contact-color-3: #34c759;
  --contact-color-4: #007aff;
  --contact-color-5: #af52de;
  --contact-spectrum: conic-gradient(from var(--contact-colors), color-mix(in srgb, var(--contact-color-1) 70%, var(--surface)), color-mix(in srgb, var(--contact-color-2) 70%, var(--surface)), color-mix(in srgb, var(--contact-color-3) 70%, var(--surface)), color-mix(in srgb, var(--contact-color-4) 70%, var(--surface)), color-mix(in srgb, var(--contact-color-5) 70%, var(--surface)), color-mix(in srgb, var(--contact-color-1) 70%, var(--surface)));
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: .45em;
  min-height: 44px;
  padding: var(--space-8) var(--space-16);
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--text-dark);
  font-size: var(--text-xs);
  text-decoration: none;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, conic-gradient(from var(--orbit), color-mix(in srgb, var(--surface) 84%, transparent) 0 66%, transparent 78% 90%, color-mix(in srgb, var(--surface) 84%, transparent) 100%) border-box, var(--contact-spectrum) border-box;
  animation: contact-orbit 1.4s linear infinite, contact-colors 6s linear infinite;
}
@property --orbit {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@property --contact-colors {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}
.rainbow-contact::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -2;
  border-radius: inherit;
  background: var(--contact-spectrum);
  filter: blur(9px);
  opacity: .12;
  pointer-events: none;
}
.rainbow-contact::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--surface);
  pointer-events: none;
}
.rainbow-contact:is(:hover, :focus-visible)::before {
  opacity: .18;
}
.rainbow-contact .contact-glow {
  position: absolute;
  inset: -1px;
  z-index: -2;
  border-radius: inherit;
  background: var(--contact-spectrum);
  filter: blur(3px) saturate(1.25);
  opacity: .24;
  pointer-events: none;
}
@keyframes contact-orbit {
  to { --orbit: 360deg; }
}
@keyframes contact-colors {
  to { --contact-colors: -360deg; }
}
@media (max-width: 40rem) {
  .document-sheet.resume-sample {
    padding-top: var(--space-24);
  }
  .resume .resume-photo {
    width: 4.5rem;
    height: 4.5rem;
  }
}
[data-motion="off"] .rainbow-contact {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .rainbow-contact {
    animation: none;
  }
}

}


/* resume experience and advisory entries */
@media all {
/* Resume Experience and Advisory entries. */
.resume-tight {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  min-width: 0;
}
.resume-sample .a4-entry-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-8);
  flex-wrap: wrap;
  min-width: 0;
}
.resume-sample .a4-entry-row > .card-meta {
  flex-shrink: 0;
}
.resume-sample h4:not(.resume-section-title) {
  font: 600 var(--text-md)/1.3 var(--font-body);
}
.resume-entry .a4-entry-head {
  display: flex;
  gap: var(--space-8);
  align-items: flex-start;
}
.resume-entry .a4-entry-title {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.resume-entry .a4-entry-head > .card-meta {
  text-align: right;
  margin-left: auto;
}
.resume-entry .a4-entry-logo {
  display: grid;
  place-items: center;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}
.resume-entry .a4-entry-logo img {
  object-fit: contain;
  width: var(--logo-size, 78%);
  height: var(--logo-size, 78%);
}
.resume-entry h3, .resume .a4-entry-row h3 {
  font: 600 var(--text-md)/var(--leading-ui) var(--font-body);
}
.resume-logo-small {
  --logo-size: 68%;
}
.resume-logo-full {
  --logo-size: 100%;
}
.resume-logo-medium {
  --logo-size: 74%;
}
.resume-entry li::marker {
  content: '✦ ';
  color: var(--accent);
}
.a4-spark {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  width: 40%;
  align-self: center;
  color: var(--line-strong);
}
.a4-spark::before, .a4-spark::after {
  content: '';
  flex: 1;
  border-top: var(--stroke) solid var(--line);
}
.a4-spark i {
  display: none;
}
.a4-spark span {
  font-size: var(--text-xs);
  line-height: 1;
}
.resume .is-unfolding {
  animation: unfold .45s ease calc(var(--unfold-index) * .05s) backwards;
}
.resume .see-rest {
  align-self: flex-start;
}
.resume section[id] {
  scroll-margin-top: calc(var(--bar-clearance-top, 6rem) + var(--space-16));
}
.resume section.folded .see-rest ~ * {
  display: none;
}
.resume-entry ul {
  cursor: pointer;
  padding-inline: var(--space-24);
  max-height: 6em;
  overflow: hidden;
  transition: max-height .45s ease;
}
.resume-entry li {
  list-style-position: inside;
  text-indent: -1.2em;
  padding-left: 1.2em;
}
.resume-entry ul:not(.open):not(.closing) li {
  white-space: nowrap;
  overflow: hidden;
  mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent);
}
.resume-entry ul:has(li:nth-child(4)) {
  --fade: 25%;
  mask-image: linear-gradient(#000 var(--fade), transparent);
}
.resume-entry ul.open {
  max-height: 34em;
}
.resume-entry ul:has(li:nth-child(4)).open {
  mask-image: none;
}
@keyframes unfold {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
}
@media (max-width: 40rem) {
  .resume-entry .a4-entry-head {
    flex-wrap: wrap;
  }
  .resume-entry .a4-entry-head > .card-meta {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }
}

}


/* resume skills */
@media all {
/* Resume Skills. */
.skill-river {
  overflow-x: clip;
  overflow-y: visible;
  margin-block: calc(var(--space-8) * -1);
  padding-block: var(--space-8);
  cursor: default;
  mask-image: linear-gradient(to right, transparent, #000 var(--space-32), #000 calc(100% - var(--space-32)), transparent);
}
.resume :is(#skills, #tools) .skill-river {
  width: calc(100% + var(--resume-gutter) + var(--resume-gutter));
  margin-inline: calc(-1 * var(--resume-gutter));
}
.skill-track {
  display: flex;
  width: max-content;
  animation: river var(--river-time, 45s) linear infinite;
}
.skill-river[data-dir="right"] .skill-track {
  animation-name: river-right;
}
.skill-set {
  display: flex;
  gap: var(--space-16);
  padding-right: var(--space-16);
}
.skill-set .pill {
  flex-shrink: 0;
  white-space: nowrap;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease, border-color var(--duration-fast) ease, background var(--duration-fast) ease;
}
.skill-set .pill:is(:hover, :focus-visible) {
  z-index: 1;
  transform: scale(1.04);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 16%, transparent);
}
.tool-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
}
.tool-pill img {
  width: 1.125rem;
  height: 1.125rem;
  object-fit: contain;
}
.resume #skills .skill-river:nth-of-type(1) {
  --river-time: 44s;
}
.resume #skills .skill-river:nth-of-type(2) {
  --river-time: 52s;
}
.resume #skills .skill-river:nth-of-type(3) {
  --river-time: 40s;
}
.resume #skills .skill-river:nth-of-type(4) {
  --river-time: 48s;
}
.resume #skills .skill-river:nth-of-type(5) {
  --river-time: 46s;
}
.resume #tools .skill-river:first-of-type {
  --river-time: 32s;
}
.resume #tools .skill-river:last-of-type {
  --river-time: 36s;
}
@keyframes river {
  to {
    transform: translateX(-50%);
  }
}
@keyframes river-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce), print {
  .skill-track {
    animation: none;
    width: auto;
  }
  .skill-set {
    flex-wrap: wrap;
  }
  .skill-set[aria-hidden] {
    display: none;
  }
  .skill-river {
    mask-image: none;
  }
}
[data-motion="off"] .skill-track {
  animation: none;
}

}


/* resume awards */
@media all {
/* Resume Awards. */
.resume-awards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.resume-awards .resume-section-title {
  grid-column: 1 / -1;
}
.resume-sample .award-card {
  --card-surface: var(--surface);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.award-heading {
  display: grid;
  gap: var(--space-8);
  min-width: 0;
}
.award-heading > :first-child {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: var(--weight-strong) var(--text-md)/var(--leading-ui) var(--font-body);
}
.resume-sample .award-card::before {
  content: attr(data-emoji);
  font-size: 1.4rem;
}
.resume-sample .award-card::after {
  content: attr(data-emoji);
  position: absolute;
  right: -0.12em;
  bottom: -0.12em;
  font-size: 8.5rem;
  line-height: 1;
  filter: blur(8px) saturate(1.1);
  opacity: 0.28;
  z-index: -1;
  pointer-events: none;
}
.resume-sample .one-line {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.resume-sample .award-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
@media (max-width: 40rem) {
  .resume-awards {
    grid-template-columns: 1fr;
  }
}

}


/* resume education and signature */
@media all {
/* Resume Education and signature. */
.resume-dropout {
  color: var(--danger);
}
.a4-foot {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding-top: var(--space-32);
}
.a4-sign {
  font: var(--text-2xl)/1.2 var(--font-signature);
  text-align: center;
}
.a4-foot-row {
  display: flex;
  justify-content: center;
  border-top: var(--stroke) solid var(--line);
  padding-top: var(--space-8);
}

}


/* feed controls */
@media all {
/* Feed controls. */
#list-controls .filter-menu {
  position: absolute;
  z-index: 5;
  padding: var(--space-16);
  border: var(--stroke-control) solid var(--line);
  border-radius: 20px;
  corner-shape: round;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow-surface);
  backdrop-filter: blur(18px) saturate(1.25);
}
[data-theme="dark"] :is(#list-controls > .feed-filter > summary.pill, #list-controls > #sort-toggle):not(:focus-visible) {
  border-color: transparent;
  box-shadow: none;
}
#list-controls {
  position: relative;
  overflow: visible;
  flex-wrap: wrap;
  z-index: 3;
}
.feed-filter {
  position: static;
}
.feed-filter > summary::after {
  content: none;
}
.feed-filter > .filter-menu {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  top: calc(100% + var(--space-8));
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(28rem, calc(100vw - var(--space-32)));
  max-height: 60dvh;
  overflow: auto;
}
.filter-topics {
  width: min(28rem, calc(100vw - var(--space-32))) !important;
}
.feed-active-filters {
  justify-content: center;
  margin-top: var(--space-16);
}
.tag--filter {
  gap: .45em;
  border: var(--stroke) solid color-mix(in srgb, var(--accent) 42%, var(--line));
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}
.tag--choice[aria-pressed="true"] .tag__badge {
  background: color-mix(in srgb, #fff 22%, transparent);
}
#active-filters [data-clear-filters] {
  min-height: var(--target);
  padding: 0 var(--space-8);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--on-sky);
  font: inherit;
  font-size: var(--text-sm);
  transition: opacity var(--duration-fast);
}
#active-filters [data-clear-filters]:hover {
  opacity: .7;
}
#active-filters [data-clear-filters]:focus-visible {
  outline: none;
  text-decoration: underline;
  text-underline-offset: .2em;
}
#sort-toggle[data-sort="old"] svg {
  rotate: 180deg;
}
.feed-empty {
  padding: var(--space-96) var(--space-24);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--on-sky);
  font: 400 clamp(2rem, 6vw, 4rem)/1.2 Handlee, var(--font-hand);
  text-align: center;
}
.feed-empty strong {
  color: inherit;
  font: inherit;
}

}


/* feed month groups and card columns */
@media all {
/* Feed month groups and card columns. */
.feed-post :is(.feed-embed.a4, .feed-link-preview) {
  box-shadow: var(--shadow-card);
}
.feed-post .feed-video-preview {
  min-width: 0;
  border-radius: 16px;
  corner-shape: round;
  overflow: hidden;
}
.feed-video-player {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 200px;
  overflow: hidden;
}
.feed-video-player::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}
.feed-video-trigger, .feed-video-player > iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.feed-video-trigger {
  cursor: pointer;
}
.feed-video-trigger .feed-media {
  height: 100%;
}
.feed-video-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}
.feed-video-preview .feed-link-preview__copy {
  gap: var(--space-8);
}
.feed-video-preview .feed-link-preview__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-strong);
  line-height: 1.4;
  white-space: normal;
}
.feed-video-external {
  width: fit-content;
  font-size: var(--text-xs);
  color: var(--text-medium);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.feed-post[data-kind="article"] .feed-embed {
  display: grid;
  gap: var(--space-16);
  min-width: 0;
  padding: var(--space-16);
  border: var(--stroke) solid var(--line);
  background: var(--surface-layer);
}
.feed-post[data-kind="article"] .feed-comment {
  color: var(--text-medium);
  font-size: var(--text-sm);
}
.feed-post[data-kind="post"] .preview-copy {
  font-size: var(--text-lg);
}
#list {
  display: flex;
  flex-direction: column;
}
.masonry {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}
.masonry-on {
  flex-direction: row;
  align-items: flex-start;
}
.masonry-col {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: var(--space-24);
}

}


/* explore category layout */
@media all {
/* Explore category layout. */
.explore-section {
  scroll-margin-top: var(--space-96);
}
.explore-section > .grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
}
.explore-section > .b-grid > * {
  grid-column: span 2;
  min-width: 0;
}
.explore-section > .b-grid > .b-2,
.writing-grid > .card,
#fun > .b-grid > *,
#shop > .b-grid > * {
  grid-column: span 3;
}
.explore-section > .b-grid > [data-wide-card] {
  grid-column: span 4;
}
.explore-section .b-tile {
  min-height: 15rem;
}
.explore-section a.card {
  color: var(--text-dark);
  text-decoration: none;
}
@media (max-width: 40rem) {
  .explore-section > .grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .explore-section > .b-grid > *,
  .explore-section > .b-grid > .b-2,
  .explore-section > .b-grid > [data-wide-card],
  .writing-grid > .card,
  #fun > .b-grid > *,
  #shop > .b-grid > * {
    grid-column: 1;
  }
  .explore-section .b-tile {
    min-height: 0;
  }
}

}


/* explore fun polls */
@media all {
/* Explore Fun polls. */
.poll-choice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8);
  min-height: var(--target);
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(to right, var(--accent-soft) 0 var(--poll-fill, 0%), var(--surface) var(--poll-fill, 0%) 100%);
  color: var(--text-dark);
  font-size: var(--text-xs);
  text-align: left;
}
.poll-choice[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
}
.poll-choice[aria-pressed="true"]::before {
  content: "✓";
}
.poll-heading {
  justify-content: space-between;
  flex-wrap: nowrap;
}
.poll-wave {
  font-size: var(--text-xl);
}
.poll-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
}
.b-poll {
  min-height: 0 !important;
  padding: var(--space-16);
  gap: var(--space-8);
}
.poll-choice > span {
  flex: 1;
  white-space: nowrap;
}
.poll-choice b {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}
.poll-note:empty {
  display: none;
}

}


/* app store */
@media all {
/* An app catalogue with icons, descriptions and availability. */
.app-store-heading { text-align: center; padding-block: var(--space-24); }
.app-store-title { font: 400 calc(2.5rem * var(--text-scale))/1.2 Handlee, var(--font-hand); }
.app-store-heading .card-meta { margin-top: var(--space-8); }
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-32) var(--space-16);
  padding-block: var(--space-16);
}
.app-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  min-width: 0;
  color: var(--text-dark);
  text-align: center;
  text-decoration: none;
}
.app-tile img {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-sm);
  transition: transform var(--duration-fast);
}
.app-tile:is(:hover, :focus-visible) img { transform: translateY(-3px); }
.app-copy {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 2px;
}
.app-name {
  font-size: var(--text-md);
  font-weight: var(--weight-strong);
  line-height: var(--leading-ui);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}
.app-phrase {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 2.8em;
  line-height: 1.4;
  font-size: var(--text-xs);
  color: var(--text-light);
}
@media (min-width: 80rem) {
  .app-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 40rem) and (max-width: 63.999rem) {
  .app-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

}


/* explore built projects */
@media all {
/* Landscape project cards expand to fill each bento row. */
:is(#built, #projects) > .b-grid > .image-card { grid-column: span 2; aspect-ratio: 4 / 3; height: auto; min-height: 0; }
#built > .b-grid > .built-featured { grid-column: span 3; aspect-ratio: 16 / 9; }
#built > .b-grid > .built-showcase { grid-column: 1 / -1; aspect-ratio: 5 / 2; }
#built > .b-grid > .built-wide { grid-column: 1 / -1; }
.facet-cover { background: #fff; }
.facet-cover iframe {
  position: absolute;
  inset: 0;
  width: 200%;
  height: 200%;
  border: 0;
  transform: scale(.5);
  transform-origin: top left;
  pointer-events: none;
}
.image-card-media:has(.space-jacket-photo) { background: #d4d8dd; }
.image-card-media .space-jacket-photo { object-fit: cover; object-position: center; }
.openly-cover { background: #fff; }
.openly-cover > img { object-fit: cover; object-position: center top; }
.app-store-all { align-self: center; width: fit-content; margin-inline: auto; }
.project-gem-icon { display: block; width: 100%; height: 100%; }
.project-gem-icon svg { width: 100%; height: 100%; }
.gem-cover { background: #654530 url("/assets/project-cards/gems-rock.png") center / cover; }
.gem-cover-studs {
  position: absolute;
  inset: 6%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 4%;
  align-items: center;
  justify-items: center;
}
.gem-cover-studs > span { display: block; width: 100%; height: 100%; max-width: 6rem; filter: drop-shadow(0 2px 1px #140d08) drop-shadow(0 7px 5px rgb(20 13 8 / .75)); }
.gem-cover-studs svg { width: 100%; height: 100%; }
@media (min-width: 40rem) and (max-width: 63.999rem) {
  :is(#built, #projects) > .b-grid > .image-card { grid-column: span 3; }
  #built > .b-grid > .built-featured { aspect-ratio: 4 / 3; }
  #built > .b-grid > .built-showcase { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  :is(#built, #projects) > .b-grid > .image-card { grid-column: 1; aspect-ratio: auto; }
  :is(#built, #projects) > .b-grid .image-card-media { flex: none; aspect-ratio: 2 / 1; }
  .app-store-title { font-size: calc(1.625rem * var(--text-scale)); }
}

}


/* explore shop ticket and actions */
@media all {
/* Explore Shop ticket and actions. */
.ticket {
  --ticket-color: #a62a69;
  --ticket-notch: 16px;
  --ticket-divider-inset: 16px;
  --ticket-dash: 8 6;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(6rem, 0.8fr) minmax(0, 1.2fr);
  padding: var(--stroke-control);
}
[data-theme="dark"] .ticket {
  --ticket-color: #b53b78;
}
.ticket-outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: visible;
  pointer-events: none;
}
.ticket-outline path {
  fill: none;
  stroke: var(--ticket-color);
  stroke-width: var(--stroke-control);
  stroke-dasharray: var(--ticket-dash);
  stroke-linecap: butt;
}
.ticket-outline .ticket-perimeter {
  fill: color-mix(in srgb, var(--ticket-color) 8%, var(--surface));
}
.ticket-art {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-16);
  padding: var(--space-16);
  color: var(--ticket-color);
  text-align: center;
}
.ticket-flower {
  width: 100%;
  max-width: 8rem;
  height: auto;
}
.ticket-art strong {
  font-size: var(--text-xs);
}
.ticket-copy {
  padding: var(--space-16);
  gap: var(--space-8);
}
.ticket-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  margin-top: var(--space-8);
}
.ticket-actions .button:not(.button--primary) {
  padding-inline: var(--space-8);
}
.ticket-copy h3 {
  font-size: var(--text-xl);
}
.ticket-price {
  font-size: var(--text-lg);
  white-space: nowrap;
}
.button--purchase:not(.button--primary) {
  background: var(--ticket-color);
  border-color: var(--ticket-color);
  color: #fff;
  align-self: flex-start;
}
.button--purchase:not(.button--primary):hover {
  background: color-mix(in srgb, var(--ticket-color) 85%, #000);
  border-color: var(--ticket-color);
}
.shop-actions {
  margin-top: auto;
}
.shop-price {
  color: var(--text-dark);
  font-size: var(--text-lg);
}
.ticket-barcode {
  width: 3rem;
  height: 2rem;
  background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 3px);
}
.ticket-stub {
  font: var(--text-xs)/var(--leading-body) var(--font-mono);
}

}


/* explore writing */
@media all {
/* Explore Writing. */
.writing-links {
  justify-content: center;
}
.b-site-count {
  font: var(--text-3xl)/1 var(--font-mono);
}

}


/* explore playlists and media */
@media all {
/* Explore Playlists and media. */
.player {
  padding: var(--space-16);
  border: var(--stroke-control) dashed var(--text-medium);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--text-medium) 18%, var(--surface-alt));
  aspect-ratio: 16 / 9;
  width: 100%;
  display: grid;
  place-items: center;
  text-align: center;
}
.b-embed-slot {
  position: relative;
  overflow: hidden;
  min-height: min-content;
}
.b-embed-slot iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.b-video-meta {
  position: absolute;
  z-index: 2;
  inset: auto var(--space-24) var(--space-24);
  gap: var(--space-8);
  color: #fff;
}
.b-video-title {
  font: var(--text-xl)/1.2 var(--font-display);
}
.b-play-btn {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f03;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.b-video-play {
  top: var(--space-16);
  right: var(--space-16);
  width: 3.5rem;
  height: 3.5rem;
}
.b-video-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgb(0 0 0 / .08), rgb(0 0 0 / .72));
}
.b-video {
  padding: 0;
  overflow: hidden;
}
.b-video .player {
  height: 100%;
  min-height: 18rem;
  padding: 0;
  border: 0;
  border-radius: 0;
}
.b-music-body {
  gap: var(--space-8);
  justify-content: center;
  padding: var(--space-24);
}
.b-music-title {
  font: var(--text-xl)/1.2 var(--font-display);
}
.video-poster {
  background-image: url('https://i.ytimg.com/vi/w1Loz8IG73I/hqdefault.jpg');
  background-size: cover;
  background-position: center;
}
.music-poster {
  background-image: url('https://i.ytimg.com/vi/T_lC2O1oIew/hqdefault.jpg');
  background-size: cover;
  background-position: center;
}
.b-music {
  display: flex;
  flex-direction: row;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.b-music-art {
  width: 45%;
  flex: 0 0 45%;
  aspect-ratio: 1;
  align-self: center;
  padding: 0;
  border: 0;
  border-radius: 0;
}
.b-music-play {
  right: var(--space-16);
  bottom: var(--space-16);
  width: 3rem;
  height: 3rem;
}

}


/* contact and privacy */
@media all {
/* Contact and Privacy. */
.information-heading {
  align-items: center;
  text-align: center;
  padding-block: var(--space-32);
}
.hero-quote {
  font-style: italic;
}
.hero-rule {
  width: min(18rem, 60%);
  border: 0;
  border-top: var(--stroke) solid currentColor;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-16);
}
.contact-page, .privacy-page, .account-page {
  max-width: 60rem;
}
.document-sheet.privacy-document {
  gap: var(--space-32);
  padding: 5rem var(--space-32) 7rem;
  border-radius: 3px;
}
.privacy-document section {
  gap: var(--space-8);
}
.privacy-document h2 {
  font: 600 var(--text-lg)/var(--leading-ui) var(--font-body);
}
.privacy-document p {
  margin: 0;
}
.privacy-document-end {
  padding-top: var(--space-16);
  border-top: var(--stroke) solid var(--line);
}
.contact-surface {
  padding-bottom: var(--space-64);
}
.contact-form-panel {
  gap: var(--space-24);
}
.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}
.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: var(--space-16);
}
.contact-form-row > .button {
  width: 100%;
  align-self: end;
}
.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-16);
  padding-top: var(--space-32);
  border-top: var(--stroke) solid var(--line);
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  text-align: center;
}
.contact-detail-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.contact-detail > .stack-tight {
  align-items: center;
  min-width: 0;
}
.contact-detail .text-caption {
  overflow-wrap: anywhere;
}
.contact-surface .card, .account-surface .card {
  --card-surface: var(--surface);
}
@media (max-width: 40rem) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }
  .contact-details {
    grid-template-columns: 1fr;
  }
  .contact-surface {
    padding-bottom: var(--space-64);
  }
}

}


/* account page */
@media all {
/* Account page. */
.account-signin {
  align-items: center;
  text-align: center;
}
.account-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-16);
  padding-bottom: var(--space-24);
  border-bottom: var(--stroke) solid var(--line);
}
.account-profile-avatar,
.account-profile-face {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: var(--radius-sm);
}
.account-profile-face {
  object-fit: cover;
}
.account-profile-face-blank {
  display: grid;
  place-items: center;
  background: var(--surface-alt);
  color: var(--text-dark);
  font: 400 var(--text-2xl)/1 var(--font-brand);
}
.account-profile-copy {
  min-width: 0;
}
.account-profile-copy h2,
.account-profile-copy p,
.account-profile-stats {
  margin: 0;
}
.account-profile-email {
  overflow-wrap: anywhere;
}
.account-profile-stats {
  display: flex;
  gap: var(--space-8);
}
.account-profile-stats div {
  min-width: 5rem;
  padding: var(--space-8) var(--space-16);
  border-left: var(--stroke) solid var(--line);
}
.account-profile-stats dt {
  color: var(--text-medium);
  font-size: var(--text-xs);
}
.account-profile-stats dd {
  color: var(--text-dark);
  font-size: var(--text-xl);
  font-weight: var(--weight-strong);
}
.google-signin {
  align-self: center;
  background: var(--surface);
  color: var(--text-dark);
}
.account-identity:empty {
  display: none;
}
.account-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-16);
}
.account-settings > :last-child {
  grid-column: 1 / -1;
}
.account-page [data-modal-body] {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}
.sheet-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.sheet-tabs .tab-set {
  flex-direction: row;
}
@media (max-width: 40rem) {
  .account-profile {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .account-profile-stats {
    grid-column: 1 / -1;
  }
  .account-profile-stats div {
    flex: 1;
  }
  .account-settings {
    grid-template-columns: 1fr;
  }
  .account-settings > :last-child {
    grid-column: auto;
  }
}

}


/* not found */
@media all {
/* Not found. */
@media (max-width: 48rem) {
  .document-sheet.privacy-document {
    padding: 3.5rem var(--space-24) 5rem;
  }
}

}


/* reading pages heading and content */
@media all {
/* Reading pages heading and content. */
.reading-main {
  max-width: 52rem;
  gap: var(--space-32);
}
.reading-top {
  display: flex;
}
.reading-sheet {
  gap: var(--space-24);
}
.reading-head .feed-author {
  padding-bottom: var(--space-24);
  border-bottom: var(--stroke) solid var(--line);
}
.reading-title {
  font: 500 clamp(var(--text-2xl), 6vw, var(--text-3xl))/var(--leading-heading) var(--font-display);
  letter-spacing: var(--tracking-heading);
  overflow-wrap: break-word;
}
.reading-subtitle {
  color: var(--text-medium);
  font: italic calc(var(--text-md) * 1.15)/var(--leading-body) var(--font-reading);
  max-width: var(--measure-prose);
}
.reading {
  color: color-mix(in srgb, var(--text-dark) 90%, var(--surface));
  font-size: calc(var(--text-md) * 1.125);
  line-height: 1.75;
  overflow-wrap: break-word;
}
.reading h2 {
  font-size: var(--text-xl);
}
.reading .reading-quote {
  font-family: var(--font-reading);
  font-size: calc(var(--text-md) * 1.2);
}
.reading hr {
  border: 0;
  border-top: var(--stroke) solid var(--line);
  margin-block: var(--space-32);
}
.reading-figure img {
  width: 100%;
  height: auto;
}
@media (max-width: 40rem) {
  .reading-title {
    font-size: var(--text-2xl);
  }
}

}


/* reading pages video */
@media all {
/* Reading pages video. */
.feed-video-figure {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}
.feed-video {
  display: block;
  position: relative;
  overflow: hidden;
  border: var(--stroke-control) solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
}
.feed-video-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.feed-video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: var(--text-3xl);
  background: #0003;
}
.feed-video:hover .feed-video-play {
  background: #0005;
}
.feed-video-caption {
  color: var(--text-medium);
  font: var(--text-sm)/var(--leading-body) var(--font-body);
}
.feed-video-btn {
  align-self: flex-start;
}

}


/* reading pages reactions and related cards */
@media all {
/* Reading pages reactions and related cards. */
.reading-foot {
  border-top: var(--stroke) solid var(--line);
  padding-top: var(--space-24);
}
.reading-sheet .feed-actions {
  gap: var(--space-16);
}
.reading-sheet .feed-act {
  min-height: 2.25rem;
  font-size: var(--text-md);
}
.reading-sheet .reading-likes {
  margin-left: calc(-1 * var(--space-8));
}
.reading-next {
  gap: var(--space-32);
}
.reading-more {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-24);
  align-items: start;
}
@media (max-width: 40rem) {
  .reading-more {
    grid-template-columns: minmax(0, 1fr);
  }
}

}


/* project briefs */
@media all {
/* Project briefs. */
.project-main {
  max-width: calc(210mm + 2 * var(--space-32));
}
.project-back {
  margin-bottom: var(--space-24);
}
.document-sheet--project {
  position: relative;
  isolation: isolate;
  border-color: color-mix(in srgb, var(--accent) 24%, var(--line));
  border-top: 3px solid var(--accent);
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface) 65%);
  box-shadow: 0 6px 0 -2px var(--surface-alt), 0 7px 0 -2px var(--line), 0 18px 28px -16px #11181c40;
  margin-bottom: var(--space-8);
}
.document-sheet--project > .eyebrow {
  color: var(--accent);
}
.document-sheet--project dl {
  border-block: var(--stroke) solid var(--line);
  padding-block: var(--space-24);
}
.document-sheet--project dt {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}
.project-sheet {
  width: min(100%, 210mm);
  min-height: 297mm;
  padding: clamp(var(--space-24), 6vw, var(--space-64));
  gap: var(--space-32);
  font: var(--text-lg)/1.7 var(--font-reading);
  overflow-wrap: break-word;
}
@media (max-width: 40rem) {
  .project-sheet {
    min-height: 0;
  }
}
.project-meta {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-8) var(--space-24);
  padding-bottom: var(--space-24);
  border-bottom: var(--stroke) solid var(--line);
  color: var(--accent);
}
.project-meta time {
  white-space: nowrap;
}
.project-paper-title {
  font: 500 var(--text-3xl)/1.05 var(--font-display);
  letter-spacing: var(--tracking-heading);
}
.project-summary {
  font: var(--text-xl)/var(--leading-body) var(--font-reading);
}
.project-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-8) var(--space-16);
  margin: 0;
}
.project-status dd {
  margin: 0;
  font-weight: var(--weight-strong);
}
.project-sheet > section h2 {
  font-size: var(--text-2xl);
}
.project-sheet > section p {
  margin-top: var(--space-16);
}
.project-figure {
  display: grid;
  gap: var(--space-8);
  margin: 0;
}
.project-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
}
.project-figure figcaption {
  color: var(--text-medium);
  font: var(--text-sm)/var(--leading-body) var(--font-body);
}
.project-steps {
  display: grid;
  gap: var(--space-8);
  margin: var(--space-16) 0 0;
  padding-left: 1.25em;
}
.project-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-16);
}
.project-metric {
  padding: var(--space-16);
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface-raised) 84%, transparent);
}
.project-metric strong {
  display: block;
  color: var(--accent);
  font: 600 var(--text-xl)/var(--leading-ui) var(--font-body);
}
.project-metric span {
  display: block;
  margin-top: var(--space-8);
  color: var(--text-medium);
  font: var(--text-sm)/var(--leading-body) var(--font-body);
}
.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  padding-top: var(--space-16);
}
@media (max-width: 40rem) {
  .project-metrics { grid-template-columns: minmax(0, 1fr); }
}
.project-end {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  margin-top: auto;
  padding-top: var(--space-32);
  color: var(--text-dark);
  font-size: var(--text-sm);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

}


/* accessibility */
@media all {
/* Shared accessibility and preferences. */
.button:focus-visible, .icon-button:focus-visible, .pill:focus-visible, summary:focus-visible {
  outline: none;
  border-color: var(--accent);
}
.button:focus-visible, .pill:focus-visible, .icon-button:focus-visible, .page-pill-option:focus-visible,
.menu-item:focus-visible, .menu-row:focus-visible, .tab-seg:focus-visible, .tab-more:focus-visible,
.site-brand-mark:focus-visible, .mode-key:focus-visible, .screen-control:focus-visible,
.sound-dial:focus-visible, .fill-gem:focus-visible, .gem-stage-preset:focus-visible,
.gem-stage-choice:focus-visible, .collection-scrollbar:focus-visible {
  outline: none;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--accent) 75%, transparent));
}
.pill:not(.button--primary)[aria-pressed="true"]:focus-visible {
  background: var(--accent);
  color: var(--on-accent);
}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus-visible, textarea:focus-visible, select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
  border-color: var(--accent);
  animation: field-focus-in var(--duration-normal) ease-out;
}
@keyframes field-focus-in {
  from { box-shadow: 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
[data-motion='off'] *, [data-motion='off'] *::before, [data-motion='off'] *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
@media (forced-colors: active) {
  .button, .pill, .card, .panel {
    border-color: CanvasText;
  }
  :focus-visible {
    outline: 2px solid Highlight;
  }
}
@media (prefers-contrast: more) {
  :root {
    --text-light: var(--text-dark);
    --text-medium: var(--text-dark);
    --line: var(--text-dark);
  }
}
@media (forced-colors: active) {
  .card, .button, .pill, .panel, .count {
    border: 1px solid CanvasText;
  }
  [aria-pressed="true"] {
    outline: 2px solid Highlight;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
[data-motion="off"] *, [data-motion="off"] {
  scroll-behavior: auto !important;
  transition: none !important;
  animation: none !important;
}

}


/* print */
@media all {
/* Shared print rules. */
@page project-brief {
  size: A4;
  margin: 15mm;
}
@media print {
  html:has(.project-main) {
    color-scheme: light;
    --surface: #fff;
    --surface-alt: #fff;
    --text-dark: #222;
    --text-medium: #555;
    --line: #ccc;
    --line-strong: #888;
    --accent: #444;
    background: white !important;
  }
  html:has(.project-main) body {
    background: white !important;
    color: black !important;
  }
  body:has(.project-main) {
    page: project-brief;
  }
  body:has(.project-main) > :not(main), .project-back {
    display: none !important;
  }
  .project-main {
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .project-sheet {
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: white;
    color: black;
    gap: 18pt;
  }
  .project-sheet .prose {
    max-width: none;
    font-size: 11pt;
    line-height: 1.55;
  }
  .project-title {
    font-size: 32pt;
  }
  .project-summary {
    font-size: 13pt;
  }
  .project-sheet > section {
    break-inside: avoid;
  }
  .project-sheet > section h2 {
    font-size: 17pt;
  }
  .home-main, .resume-main {
    padding: 0;
  }
  .career-section {
    width: 100%;
    max-width: none;
    margin-block: var(--space-32);
    border: 0;
    box-shadow: none;
  }
  .carousel-position, .career-intro, .resume-download, .resume .see-rest, .a4-shade {
    display: none;
  }
  .career-section .collection {
    overflow: visible;
    flex-direction: column;
  }
  .career-section .collection > * {
    flex: auto;
    break-inside: avoid;
  }
  .skill-row {
    overflow: visible;
    flex-wrap: wrap;
  }
  .resume {
    --resume-gutter: 0px;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: #fff;
  }
  .resume-entry ul, .resume-entry ul:has(li:nth-child(4)) {
    max-height: none !important;
    mask-image: none;
  }
  .resume-entry ul:not(.open):not(.closing) li {
    white-space: normal;
    mask-image: none;
  }
  .resume section.folded .see-rest ~ .a4-entry, .resume section.folded .see-rest ~ .a4-spark {
    display: flex;
  }
  .resume .award-card p {
    white-space: normal;
  }
  .rainbow-contact {
    border-color: var(--line-strong);
    background: none;
    animation: none;
  }
  .rainbow-contact::before, .rainbow-contact::after, .rainbow-contact .contact-glow {
    display: none;
  }
  .site-header, .site-footer, .toast-rack {
    display: none !important;
  }
  html[data-sky] body {
    --on-sky: #11181c;
    background: white;
    color: black;
  }
  html[data-sky] body::before {
    display: none;
  }
  .site-main {
    color: black;
    padding: 0;
  }
  .card {
    break-inside: avoid;
  }
  .collection {
    overflow: visible;
    flex-wrap: wrap;
  }
  .document-sheet {
    box-shadow: none;
  }
  body {
    --text-dark: #11181c;
    --text-medium: #687076;
    --text-light: #a2a9af;
    --surface: #fff;
    --page: #fff;
    color: var(--text-dark);
  }
  .catalogue-index, .preference-bar, .skip-link, .toast {
    display: none !important;
  }
  .catalogue-frame {
    display: block;
  }
  .library-content {
    width: 100%;
  }
  .specimen {
    break-inside: avoid;
  }
}

}


/* compact padding */
@media all {
/* Shared compact document padding. */
@media (max-width: 48rem) {
  .document-sheet {
    padding: var(--space-16);
  }
}

}


/* catalogue standalone components */
@media all {
/* Catalogue standalone components. */
.usage {
  color: var(--text-medium);
  font-size: var(--text-sm);
}
.notice {
  padding: var(--space-16) var(--space-16);
  border: var(--stroke) solid var(--line);
  --notice-color: var(--accent);
  border-left: calc(var(--stroke) * 3) solid var(--notice-color);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--notice-color) 8%, var(--surface));
  color: var(--text-dark);
  font-size: var(--text-sm);
}
.notice--success {
  --notice-color: var(--success);
}
.notice--warning {
  --notice-color: var(--warning);
}
.notice--error {
  --notice-color: var(--danger);
}
.status-dot {
  width: 0.5em;
  height: 0.5em;
  display: inline-block;
  border-radius: 50%;
  background: var(--success);
}
.media-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-16);
  padding: var(--space-8);
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text-dark);
  text-decoration: none;
}
.media-link:hover {
  background: var(--surface-alt);
}
.media-link img {
  width: 3rem;
  height: 3rem;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.media-link--large {
  padding: var(--space-8);
}
.media-link--large img {
  width: 5rem;
  height: 5rem;
}
.media-link .media-logo {
  object-fit: contain;
  padding: var(--space-8);
  background: #fff;
}
.media-copy {
  min-width: 0;
}
.media-copy br {
  display: none;
}
.media-copy > strong, .media-copy > span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.media-link-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
}
.media-link-icon svg.icon {
  width: 2rem;
  height: 2rem;
}
.fold > summary {
  padding-block: var(--space-16);
  color: var(--accent);
  min-height: var(--target);
}
.fold[open] > summary {
  margin-bottom: var(--space-16);
}

}


/* catalogue frame and review controls */
@media all {
/* Catalogue frame and review controls. */
.specimen {
  border-radius: var(--radius-container);
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  container-type: inline-size;
}
.specimen > .usage:last-child {
  padding-top: var(--space-16);
  border-top: var(--stroke) solid var(--line);
}
.catalogue-top {
  max-width: var(--measure-page);
  margin: auto;
  padding: var(--space-24) var(--space-32);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-16);
  border-bottom: var(--stroke) solid var(--line);
}
.catalogue-intro {
  max-width: var(--measure-page);
  margin: auto;
  padding: var(--space-64) var(--space-32) var(--space-32);
  display: grid;
  gap: var(--space-24);
}
.catalogue-intro > p {
  max-width: 50ch;
}
.review-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-16);
  color: var(--text-medium);
  font-size: var(--text-sm);
}
.catalogue-frame {
  max-width: var(--measure-page);
  margin: auto;
  padding: 0 var(--space-32) var(--space-64);
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: var(--space-32);
  align-items: start;
}
.catalogue-index {
  position: sticky;
  top: var(--space-24);
  max-height: calc(100dvh - var(--space-64));
  overflow: auto;
  flex-direction: column;
  gap: var(--space-8);
  font-size: var(--text-sm);
  display: flex;
}
.catalogue-index a {
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-sm);
  color: var(--text-medium);
  text-decoration: none;
  min-height: var(--target);
  display: flex;
  align-items: center;
}
.catalogue-index a:hover, .catalogue-index a[aria-current="location"] {
  color: var(--accent);
  background: var(--accent-soft);
}
.library-content {
  width: min(100%, var(--preview-width, 100%));
  min-width: 0;
}
.library-section {
  scroll-margin-top: var(--space-32);
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  margin-bottom: var(--space-64);
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  padding-bottom: var(--space-16);
  border-bottom: var(--stroke) solid var(--line);
}
.section-head > p {
  max-width: 65ch;
}
.preference-bar {
  padding: var(--space-24);
  margin-bottom: var(--space-64);
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.preference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr));
  gap: var(--space-16);
}
.preference-grid label {
  font-size: var(--text-xs);
  color: var(--text-medium);
}
.preference-grid select {
  margin-top: var(--space-8);
  padding-inline: var(--space-8);
}
.token-text {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}
.color-role {
  padding: var(--space-24);
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius-md);
  min-height: 10rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  background: transparent;
}
.color-role strong {
  font-size: var(--text-3xl);
}
.color-role--medium {
  color: var(--text-medium);
}
.color-role--light {
  color: var(--text-light);
}
.type-row {
  display: grid;
  grid-template-columns: minmax(6rem, 0.4fr) minmax(0, 1fr);
  gap: var(--space-24);
  align-items: baseline;
  padding-block: var(--space-16);
  border-bottom: var(--stroke) solid var(--line);
}
.type-row:last-child {
  border-bottom: 0;
}
.type-brand {
  font-family: var(--font-brand);
  font-size: var(--text-3xl);
}
.type-display {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: 1.1;
}
.type-heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.2;
}
.type-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
}
.type-reading {
  font-family: var(--font-reading);
  font-size: var(--text-lg);
}
.type-body {
  font-size: var(--text-md);
}
.type-meta {
  font-size: var(--text-sm);
}
.type-caption {
  font-size: var(--text-xs);
}
.spacing-sample {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  font: var(--text-xs)/1.5 var(--font-mono);
}
.spacing-bar {
  height: var(--space-16);
  width: var(--sample-space);
  min-width: 1px;
  background: var(--accent);
  border-radius: var(--radius-sm);
}
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
  gap: var(--space-16);
}
.icon-sample {
  padding: var(--space-16);
  display: grid;
  justify-items: center;
  gap: var(--space-8);
  font-size: var(--text-xs);
  color: var(--text-medium);
}
.icon-sample svg {
  width: var(--text-xl);
  height: var(--text-xl);
}
.layout-preview {
  padding: var(--space-24);
  border: var(--stroke) dashed var(--line-strong);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}
[data-review-id="component-42"] {
  padding-top: var(--space-32);
}
.coverage-dependencies {
  margin-top: var(--space-32);
  display: grid;
  gap: var(--space-16);
}
.coverage-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: var(--space-16) var(--space-24);
  padding-left: var(--space-24);
  font-size: var(--text-sm);
}
[data-review-id="component-37"] {
  gap: var(--space-8);
}
[data-review-id="component-37"] > h3 {
  margin-bottom: var(--space-24);
}
[data-review-id="component-37"] .identity-row {
  align-items: center;
  padding-block: var(--space-8);
}
[data-review-id="component-37"] .avatar {
  width: 2.5rem;
  height: 2.5rem;
}
[data-review-id="component-37"] .identity-copy {
  min-width: 0;
}
.catalogue-end {
  padding-top: var(--space-32);
  border-top: var(--stroke) solid var(--line);
  font-size: var(--text-sm);
}
.skip-link {
  position: absolute;
  left: var(--space-16);
  top: var(--space-16);
  z-index: 30;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}
.instruction-list {
  padding-left: var(--space-24);
}
.instruction-list li + li {
  margin-top: var(--space-16);
}
[data-preview="390"] {
  --preview-width: 390px;
}
[data-preview="640"] {
  --preview-width: 640px;
}
.review-desk {
  padding-block: var(--space-24);
  border-block: var(--stroke) solid var(--line);
  display: grid;
  gap: var(--space-16);
}
.review-desk h2 {
  font: var(--weight-strong) var(--text-lg)/var(--leading-ui) var(--font-body);
}
.review-picker {
  flex: 1;
}
.review-decisions > summary {
  min-height: var(--target);
}
.review-decisions[open] {
  display: grid;
  gap: var(--space-16);
}
.library-section[data-review-hidden], .specimen[data-review-hidden] {
  display: none;
}
[data-review-mode="single"] .library-section > .grid {
  display: block;
}
.library-section > .grid:not(:has(.specimen:not([data-review-hidden]))) {
  display: none;
}
[data-review-mode="single"] .catalogue-frame {
  grid-template-columns: minmax(0, 1fr);
  max-width: 66rem;
  margin-inline: auto;
}
[data-review-mode="single"] .catalogue-intro {
  padding-block: var(--space-24);
}
[data-review-mode="single"] .brand-title {
  font-size: var(--text-3xl);
}
[data-review-mode="single"] .preference-bar {
  margin-bottom: var(--space-24);
}
[data-review-mode="single"] .review-desk {
  margin-bottom: var(--space-24);
}
[data-review-mode="single"] .library-section {
  gap: var(--space-16);
}
[data-review-mode="single"] .library-section > .section-head {
  display: none;
}
.theme-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-24);
  margin-bottom: var(--space-32);
}
.theme-preview {
  min-width: 0;
  overflow: hidden;
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius-container);
  background: #f8f9fa;
  color: #11181c;
}
.theme-preview--dark {
  background: #101620;
  color: #edf2fa;
  border-color: #354155;
}
.theme-preview > h3 {
  padding: var(--space-24) var(--space-24) 0;
  font: var(--weight-strong) var(--text-md)/var(--leading-ui) var(--font-body);
}
.theme-preview iframe {
  display: block;
  border: 0;
  width: 100%;
  height: 600px;
}
.component-live-page {
  display: block;
  width: 100%;
  height: 32rem;
  border: 0;
  border-radius: var(--radius-sm);
}
html:not([data-review-embed])[data-review-mode="single"] .library-section {
  display: none;
}
[data-review-mode="all"] .theme-comparison, [data-review-embed] .theme-comparison {
  display: none;
}
[data-review-mode="single"] .catalogue-index { display: none; }
[data-review-embed] .catalogue-top, [data-review-embed] .catalogue-intro, [data-review-embed] .preference-bar, [data-review-embed] .review-desk, [data-review-embed] .review-export, [data-review-embed] .catalogue-end, [data-review-embed] .skip-link {
  display: none;
}
[data-review-embed] body {
  min-height: 0;
  background: var(--page);
}
[data-review-embed] .catalogue-frame {
  display: block;
  width: 100%;
  max-width: none;
  padding: var(--space-16);
  margin: 0;
}
[data-review-embed] .library-section {
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .theme-comparison {
    grid-template-columns: minmax(0, 1fr);
  }
}

}


/* catalogue navigation */
@media all {
/* Catalogue navigation. */
.navigation {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  align-items: center;
  justify-content: space-between;
}
.navigation-brand {
  color: var(--text-dark);
  font: var(--text-2xl)/1 var(--font-brand);
  text-decoration: none;
}
.navigation .menu > .panel {
  left: auto;
  right: 0;
}

}


/* catalogue device references and controls */
@media all {
/* Catalogue device references and controls. */
.home-device-reference {
  margin: 0;
  display: grid;
  gap: var(--space-16);
}
.home-device-reference picture {
  overflow: hidden;
  border-radius: var(--radius-md);
}
.home-device-reference img {
  display: block;
  width: 100%;
  height: auto;
}
.home-device-reference figcaption {
  color: var(--text-medium);
  font-size: var(--text-xs);
}
.home-device-reference .home-device-dark, [data-theme="dark"] .home-device-reference .home-device-light {
  display: none;
}
[data-theme="dark"] .home-device-reference .home-device-dark {
  display: block;
}
.device-fixture > summary {
  min-height: var(--target);
  color: var(--text-medium);
}
.device-fixture[open] > summary {
  margin-bottom: var(--space-16);
}
.device {
  padding: var(--space-24);
  border: calc(var(--stroke) * 5) solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-alt);
}
.device-screen {
  min-height: 18rem;
  padding: var(--space-24);
  border: var(--stroke-control) solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}
.device-log {
  max-height: 15rem;
  overflow: auto;
  font: var(--text-sm)/var(--leading-body) var(--font-mono);
}
.device-message + .device-message {
  margin-top: var(--space-16);
}
.device-message time {
  color: var(--text-light);
  font-size: var(--text-xs);
}
.device-key {
  box-shadow: 0 3px 0 var(--line-strong);
}
.device-key[aria-pressed="true"] {
  box-shadow: inset 0 0 0 2px var(--accent);
  color: var(--accent);
}
.device:fullscreen {
  padding: var(--space-32);
  overflow: auto;
}
.device:fullscreen .device-screen {
  min-height: 75dvh;
}
.device-composer {
  flex: 1;
}

}


/* catalogue layout examples */
@media all {
/* Catalogue layout examples. */
.discovery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: var(--space-24);
  align-items: start;
}
.discovery-grid > * {
  min-width: 0;
}
@container (min-width: 42rem) {
  .discovery-grid {
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  }
}
.feed-grid {
  columns: 3 18rem;
  column-gap: var(--space-24);
}
.feed-grid > * {
  min-width: 0;
  break-inside: avoid;
  margin-bottom: var(--space-24);
}
.decorated-heading {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}
.decorated-heading > span {
  color: var(--accent);
  font-size: var(--text-xl);
}

}


/* catalogue menus and tooltips */
@media all {
/* Catalogue menus and tooltips. */
.skill-tooltip [role="tooltip"] {
  visibility: hidden;
  left: 0;
  right: auto;
  text-align: left;
}
.skill-tooltip:is(:hover, :focus-within) [role="tooltip"] {
  visibility: visible;
}
.skill-tooltip [role="tooltip"]::before {
  left: var(--space-16);
  right: auto;
}
.demo-filter {
  position: relative;
}
.demo-filter > summary {
  list-style: none;
}
.demo-filter > summary::-webkit-details-marker {
  display: none;
}
.demo-filter[open] > summary {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.demo-filter > .menu {
  translate: var(--menu-shift, 0px) 0;
  position: absolute;
  top: calc(100% + var(--space-8));
  left: 0;
  z-index: 6;
  width: min(20rem, 75vw);
  gap: var(--space-8);
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius-popup);
  background: var(--surface);
  padding: var(--space-8);
  border-width: var(--stroke-control);
  box-shadow: var(--shadow-md);
}
.demo-tooltip {
  position: relative;
  display: inline-flex;
}
.skill-tooltip[data-dismissed="true"]:is(:hover, :focus-within) [role="tooltip"] {
  visibility: hidden;
}
.demo-tooltip [role="tooltip"] {
  position: absolute;
  z-index: 6;
  top: calc(100% + var(--space-16));
  right: 0;
  width: max-content;
  max-width: min(16rem, 65vw);
  padding: var(--space-16);
  border: 0;
  border-radius: var(--radius-popup);
  background: #000;
  color: #fff;
  filter: drop-shadow(0 6px 10px #11181c26);
  text-align: center;
  font-size: var(--text-xs);
}
.disclosure-icon {
  display: inline-flex;
  transition: transform var(--duration-fast);
}
.demo-filter[open] .disclosure-icon {
  transform: rotate(180deg);
}
.demo-tooltip [role="tooltip"]::before {
  content: "";
  position: absolute;
  right: var(--space-24);
  bottom: calc(100% - 1px);
  width: 16px;
  height: 10px;
  background: #000;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.result-picker > summary {
  justify-content: space-between;
  width: 100%;
}
.result-picker > .menu {
  width: 100%;
}

}


/* catalogue foundation examples */
@media all {
/* Catalogue foundation examples. */
.space-8 {
  --sample-space: var(--space-8);
}
.space-16 {
  --sample-space: var(--space-16);
}
.space-24 {
  --sample-space: var(--space-24);
}
.space-32 {
  --sample-space: var(--space-32);
}
.space-64 {
  --sample-space: var(--space-64);
}
.space-96 {
  --sample-space: var(--space-96);
}
.space-128 {
  --sample-space: var(--space-128);
}
.color-stage, .surface-stage {
  display: grid;
  gap: var(--space-24);
  background: var(--page);
  border-radius: var(--radius-md);
  padding: var(--space-24);
}
.background-swatch {
  width: 32px;
  height: 32px;
  background: var(--page);
  border: var(--stroke-control) solid var(--line-strong);
  border-radius: var(--radius-sm);
}
.color-role > strong {
  color: var(--text-dark);
}
.color-role--medium > strong {
  color: var(--text-medium);
}
.color-role--light > strong {
  color: var(--text-light);
}
.color-role > span, .color-role > code {
  color: var(--text-medium);
}
.cursor-grid, .gem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: var(--space-16);
}
.cursor-sample {
  display: grid;
  gap: var(--space-8);
  padding: var(--space-16);
  border: var(--stroke-control) solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--page);
  font-size: var(--text-sm);
}
.icon-next {
  transform: rotate(180deg);
  display: inline-flex;
}
.cursor-default {
  cursor: default;
}
.cursor-pointer {
  cursor: pointer;
}
.cursor-text {
  cursor: text;
}
.cursor-help {
  cursor: help;
}
.cursor-not-allowed {
  cursor: not-allowed;
}
.cursor-progress {
  cursor: progress;
}
.cursor-grab {
  cursor: grab;
}
.cursor-grabbing {
  cursor: grabbing;
}
.cursor-ew-resize {
  cursor: ew-resize;
}
.cursor-aero {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M5 3L5 23L10.5 18L14 26L17.5 24.5L14 16.5L21 16.5Z' fill='white' stroke='%230a5fb0' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 4 3, auto;
}
@media (max-width: 48rem) {
  .catalogue-frame {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: var(--space-16);
  }
  .catalogue-index {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: var(--space-8);
    border-bottom: var(--stroke) solid var(--line);
  }
  .catalogue-intro, .catalogue-top {
    padding-inline: var(--space-16);
  }
  .type-row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-8);
  }
}
.cursor-crosshair {
  cursor: crosshair;
}
.cursor-cell {
  cursor: cell;
}
.cursor-copy {
  cursor: copy;
}
.cursor-alias {
  cursor: alias;
}
.cursor-move {
  cursor: move;
}
.cursor-zoom-in {
  cursor: zoom-in;
}
.cursor-zoom-out {
  cursor: zoom-out;
}
.cursor-col-resize {
  cursor: col-resize;
}
.cursor-row-resize {
  cursor: row-resize;
}
.cursor-nesw-resize {
  cursor: nesw-resize;
}
.cursor-nwse-resize {
  cursor: nwse-resize;
}
.cursor-vertical-text {
  cursor: vertical-text;
}

}


/* catalogue gem samples */
@media all {
/* Catalogue gem samples. */
.surface-popup {
  border-radius: var(--radius-popup);
  box-shadow: var(--shadow-md);
}
.gem-grid figure {
  margin: 0;
  text-align: center;
}
.gem-sample {
  width: min(100%, 10rem);
  height: 10rem;
  margin-inline: auto;
  --gem-base: #80bbdf;
}
.gem-sample[data-stone="ruby"] {
  --gem-base: #d91650;
}
.gem-sample[data-stone="sapphire"] {
  --gem-base: #245de0;
}
.gem-sample[data-stone="emerald"] {
  --gem-base: #00a977;
}
.gem-sample[data-stone="amethyst"] {
  --gem-base: #8a32d1;
}
.gem-sample[data-stone="topaz"] {
  --gem-base: #e4a000;
}
.gem-sample :is(.gem-facet, .gem-bfacet) {
  stroke: color-mix(in srgb, var(--gem-base) 80%, #000);
  stroke-width: 0.2;
  stroke-linejoin: round;
}
.gem-sample:not([data-stone="diamond"]) :is([fill="#ff2a00"], [fill="#ffd000"], [fill="#ff0048"], [fill="#0091ff"], [fill="#00e6a0"], [fill="#a020ff"], [fill="#ff7a00"], [fill="#19e6ff"]) {
  fill: #fff;
}
.gem-grid figcaption {
  color: var(--text-medium);
  font-size: var(--text-sm);
}
.gem-sample svg {
  filter: brightness(var(--gem-brightness)) saturate(var(--gem-saturation));
}

}


/* catalogue button examples */
@media all {
/* Catalogue button examples. */
[data-playing="true"] {
  border: var(--stroke) solid var(--accent);
}
.button-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: var(--space-24);
}
.button-example {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-16);
}
[data-demo-category]:not([aria-pressed="true"]) {
  color: var(--text-medium);
}
}

/* Shop product cards */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-24); }
.product-card { padding: 0; gap: 0; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.product-gallery { position: relative; aspect-ratio: 1; min-width: 0; align-self: center; background: #e5e8ed; }
.product-slides { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.product-slides::-webkit-scrollbar { display: none; }
.product-slides > a { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.product-slides img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-gallery-dots { position: absolute; bottom: 12px; left: 50%; translate: -50% 0; display: flex; padding: 0; }
.product-gallery-dots button { display: grid; place-items: center; width: 16px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.product-gallery-dots button::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: rgb(20 25 32 / .25); box-shadow: 0 0 0 1px rgb(255 255 255 / .35); }
.product-gallery-dots button[aria-pressed="true"]::after { background: #252b34; }
.product-body { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-16); padding: var(--space-24); }
.product-details { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-8); min-width: 0; }
.ticket-edition { font: 600 var(--text-xs)/1.4 var(--font-mono); letter-spacing: .1em; }
.product-details h3 { margin: 0; font: 700 var(--text-xl)/1.15 var(--font-body); letter-spacing: -.025em; }
.product-details .card-meta { margin: 0; font-size: var(--text-sm); line-height: 1.5; text-align: left; }
.product-detail-link, .product-links { font-size: var(--text-xs); }
.product-detail-link { color: var(--text-medium); margin-top: var(--space-8); }
.product-links { display: flex; gap: var(--space-16); }
.product-purchase { display: flex; align-items: center; justify-content: space-between; gap: var(--space-12); padding-top: var(--space-16); border-top: 1px solid var(--border); }
.product-price-block { display: grid; gap: 4px; }
.product-price-block > span { color: var(--text-light); font-size: var(--text-xs); }
.product-price { font: 700 var(--text-xl)/1.15 var(--font-body); }
.product-purchase .pill { flex-shrink: 0; }
.section-view-all { display: flex; width: fit-content; margin: var(--space-24) auto 0; }
.service-product-media { display: block; min-height: 18rem; overflow: hidden; background: #f4f1ec; }
.service-product-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.commerce-page { max-width: 72rem; }
.commerce-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .8fr); gap: 0; padding: 0; overflow: hidden; }
.commerce-detail-media { min-height: 34rem; background: #e5e8ed; }
.commerce-detail-media > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.commerce-detail-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--space-16); padding: var(--space-48); }
.commerce-detail-copy > :is(h2, p) { margin: 0; }
.commerce-detail-copy h2 { font: 700 var(--text-2xl)/1.1 var(--font-body); letter-spacing: -.03em; }
.commerce-detail-list { display: grid; gap: var(--space-8); margin: 0; padding-left: 1.2rem; color: var(--text-medium); }
.commerce-detail-buy { display: flex; align-items: center; justify-content: space-between; gap: var(--space-16); width: 100%; margin-top: var(--space-16); padding-top: var(--space-24); border-top: var(--stroke) solid var(--line); }
.commerce-detail-buy strong { font: 700 var(--text-2xl)/1 var(--font-body); }
.commerce-back { margin-top: var(--space-16); }
.commerce-ticket { background: #f3a1c1; }
.commerce-ticket .event-ticket-stub { min-height: 32rem; margin: var(--space-16); border-right: 3px double #8b3357; }
.commerce-ticket .commerce-detail-copy { color: #3d1126; }
.commerce-ticket .commerce-detail-buy { border-color: #a3466c; }
/* Printed festival ticket */
.event-ticket { position: relative; isolation: isolate; background: #2d1020; color: #3d1126; border: 0; border-radius: 0; mask: radial-gradient(14px at 0 0, transparent 98%, #000) top left, radial-gradient(14px at 100% 0, transparent 98%, #000) top right, radial-gradient(14px at 0 100%, transparent 98%, #000) bottom left, radial-gradient(14px at 100% 100%, transparent 98%, #000) bottom right; mask-size: 51% 51%; mask-repeat: no-repeat; }
.event-ticket::before { content: ''; position: absolute; inset: 2px; z-index: -1; background: #f3a1c1; mask: radial-gradient(12px at 0 0, transparent 98%, #000) top left, radial-gradient(12px at 100% 0, transparent 98%, #000) top right, radial-gradient(12px at 0 100%, transparent 98%, #000) bottom left, radial-gradient(12px at 100% 100%, transparent 98%, #000) bottom right; mask-size: 51% 51%; mask-repeat: no-repeat; }
.event-ticket-stub { position: relative; margin: 12px 0 12px 12px; border: 3px double #8b3357; border-right: 2px dotted #842747; display: flex; flex-direction: column; align-items: center; justify-content: space-around; gap: var(--space-12); padding: var(--space-16); text-align: center; background: repeating-radial-gradient(circle at 0 100%, transparent 0 11px, rgb(139 51 87 / .09) 12px 13px, transparent 14px 24px); }
.ticket-logo { display: block; width: 100%; height: auto; }
.ticket-stamp { width: min(100%, 190px); padding: 8px 12px; border: 4px double #842747; border-radius: 8px; color: #842747; transform: rotate(-5deg); box-shadow: inset 0 0 0 2px rgb(132 39 71 / .12); }
.ticket-stamp > strong { font: 700 var(--text-sm)/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .16em; display: flex; align-items: center; gap: 12px; color: #842747; width: 100%; justify-content: center; padding: 0 0 5px; margin-bottom: 6px; border-bottom: 1px solid #842747; }
.ticket-stamp > strong b { font: 700 3.5rem/1 var(--font-display); letter-spacing: -.08em; }
.ticket-stamp .ticket-location { display: block; font: 600 var(--text-xs)/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; }
.event-ticket .product-body { margin: 12px 12px 12px 0; border: 3px double #8b3357; border-left: 0; padding: var(--space-16); }
.event-ticket .card-meta, .event-ticket a, .event-ticket .product-price-block > span { color: #6c2947; }
.event-ticket .ticket-date { font: 700 2.25rem/1 var(--font-display); }
.ticket-date span { display: block; font: 600 var(--text-xs)/1.5 var(--font-mono); letter-spacing: .1em; margin-top: 6px; }
.event-ticket .product-price { font-size: var(--text-md); }
.event-ticket .product-purchase { border-top: 2px dotted #a3466c; }
.event-ticket .ticket-date { width: 100%; padding-bottom: 10px; border-bottom: 1px dotted #a3466c; }
.ticket-stamp .ticket-location::after { content: ""; display: block; width: 90px; height: 16px; margin: 8px auto 0; opacity: .65; background: repeating-linear-gradient(90deg, #842747 0 1px, transparent 1px 3px, #842747 3px 6px, transparent 6px 8px, #842747 8px 10px, transparent 10px 13px); }
.event-ticket button:not(.button--primary):disabled { background: #842747; color: #fff1f6; border: 1px solid #842747; opacity: 1; cursor: not-allowed; }
/* Unified Feed preview */
.explore-feed-grid { columns: 3; column-gap: var(--space-24); }
.explore-feed-grid .feed-post { break-inside: avoid; margin-bottom: var(--space-24); }
@media (min-width: 40.001rem) {
  .product-gallery { aspect-ratio: auto; align-self: stretch; }
  .product-gallery .product-slides { position: absolute; inset: 0; }
}
@media (min-width: 40rem) and (max-width: 64rem) {
  .product-grid { grid-template-columns: 1fr; }
  .explore-feed-grid { columns: 2; }
}
@media (max-width: 40rem) {
  .product-grid { grid-template-columns: 1fr; }
  .explore-feed-grid { columns: 1; }
  .product-card { display: flex; flex-direction: column; }
  .product-gallery { width: 100%; }
  .product-body { padding: var(--space-24); }
  .event-ticket-stub { margin: 12px 12px 0; min-height: 16rem; border: 3px double #8b3357; border-bottom: 2px dotted #842747; padding: var(--space-24); }
  .ticket-logo { max-width: 18rem; }
  .event-ticket .product-body { margin: 0 12px 12px; border: 3px double #8b3357; border-top: 0; padding: var(--space-24); }
  .commerce-detail { grid-template-columns: 1fr; }
  .commerce-detail-media { min-height: 22rem; }
  .commerce-detail-copy { padding: var(--space-24); }
  .commerce-ticket .event-ticket-stub { min-height: 24rem; }
}

/* Playlist previews */
.playlist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-24); align-items: start; }
.playlist-card { padding: 0; gap: 0; overflow: hidden; }
.playlist-cover { aspect-ratio: 16 / 9; background-size: cover; background-position: center; display: grid; place-items: center; }
.playlist-play { width: 56px; height: 56px; display: grid; place-items: center; padding: 0; border: 1px solid rgb(255 255 255 / .6); border-radius: 50%; background: rgb(15 20 28 / .7); color: #fff; backdrop-filter: blur(8px); cursor: pointer; }
.playlist-play:hover { background: #f03; }
.playlist-info { display: flex; align-items: center; justify-content: space-between; gap: var(--space-16); padding: var(--space-24); }
.playlist-info h3 { margin: 0; font: 700 var(--text-xl)/1.3 var(--font-body); }
.playlist-info p { margin: 6px 0 0; font-size: var(--text-sm); color: var(--text-medium); }
.playlist-info .icon-button { flex-shrink: 0; }
@media (max-width: 40rem) { .playlist-grid { grid-template-columns: 1fr; } }

/* Compact music player and video theatre */
.music-player { position: relative; isolation: isolate; display: grid; grid-template-columns: 42% minmax(0, 1fr); align-items: stretch; gap: 0; padding: 0; overflow: hidden; border-radius: 24px; background: #a9112e; color: #fff; }
.music-backdrop { position: absolute; inset: -30px; z-index: -2; width: calc(100% + 60px); height: calc(100% + 60px); object-fit: cover; filter: blur(28px); }
.music-player::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgb(169 17 46 / .84), rgb(92 5 27 / .92)); }
.music-art { display: block; width: 100%; height: 100%; min-height: 15rem; object-fit: cover; border-radius: 0; }
.music-audio { position: absolute; inset: 0 auto auto 0; width: 200px; height: 200px; overflow: hidden; opacity: 0; pointer-events: none; }
.music-audio iframe { width: 200px; height: 200px; border: 0; }
.music-controls { align-self: center; min-width: 0; padding: var(--space-24); text-align: left; }
.music-controls h3 { margin: 0; color: inherit; font: 700 var(--text-xl)/1.3 var(--font-body); }
.music-controls p { margin: 6px 0 0; font-size: var(--text-sm); color: rgb(255 255 255 / .65); }
.music-seek { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; font: var(--text-xs)/1 var(--font-mono); color: rgb(255 255 255 / .65); text-align: left; }
.music-seek input { grid-column: 1 / -1; appearance: none; width: 100%; min-height: 0; height: 3px; margin: 0; padding: 0; border: 0; border-radius: 2px; background: rgb(255 255 255 / .3); accent-color: #fff; cursor: pointer; }
.music-seek input::-webkit-slider-runnable-track { height: 3px; border: 0; border-radius: 2px; background: transparent; }
.music-seek input::-webkit-slider-thumb { appearance: none; width: 8px; height: 8px; margin-top: -2.5px; border: 0; border-radius: 50%; background: #fff; box-shadow: none; }
.music-seek input::-moz-range-track { height: 3px; border: 0; background: transparent; }
.music-seek input::-moz-range-thumb { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #fff; }
.music-buttons svg { width: 28px; height: 28px; fill: currentColor; }
.music-seek span:last-child { text-align: right; }
.music-buttons { display: flex; justify-content: flex-start; align-items: center; gap: 14px; margin-top: 16px; }
.music-buttons button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #fff; font-size: 27px; cursor: pointer; }
.music-player:not(.music-player--started) [data-music-play] { width: auto; padding-inline: var(--space-16); gap: var(--space-8); border-radius: 999px; background: #fff; color: #a9112e; font: 700 var(--text-sm)/1 var(--font-body); }
.music-player:not(.music-player--started) [data-music-play] svg { width: 18px; height: 18px; }
.music-buttons button:disabled { opacity: .3; cursor: default; }
.music-player [hidden] { display: none; }
.theatre-screen { position: relative; aspect-ratio: 16 / 9; background: #090b0f; border: 8px solid #090b0f; }
.theatre-screen > img, .theatre-screen iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.theatre-screen .playlist-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
.theatre-screen:fullscreen { width: 100%; height: 100%; border: 0; }
.theatre-screen:fullscreen > img { object-fit: contain; }
.video-theatre .playlist-info { padding: var(--space-16); }
@media (min-width: 40rem) and (max-width: 64rem) { .playlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Product colour choices */
.product-colours { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.product-colours button { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid var(--border); border-radius: 8px; color: var(--text-medium); background: transparent; font: inherit; font-size: var(--text-xs); cursor: pointer; }
.product-colours button[aria-pressed="true"] { border-color: var(--text-dark); color: var(--text-dark); background: var(--surface-alt); }
.colour-dot { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25); }
.colour-dot--silver { background: #c4c9cc; }
.colour-dot--navy { background: #223650; }
.colour-dot--olive { background: #747754; }

/* Public catalogue controls and state matrix. */
[data-component-review] .table-wrap { overflow-x: auto; }
[data-component-review] .table-wrap table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
[data-component-review] .table-wrap th, [data-component-review] .table-wrap td { text-align: left; padding: var(--space-16); border-bottom: 1px solid var(--line); vertical-align: top; }
[data-component-review] .review-picker { min-width: 0; }
[data-component-review] .review-picker select { max-width: 100%; }

.music-controls .music-status { font-size: var(--text-xs); margin-bottom: 0; }
@media (max-width: 40rem) { .music-player { grid-template-columns: 42% minmax(0, 1fr); } .music-art { min-height: 12rem; } .music-controls { padding: var(--space-16); } .music-controls h3 { font-size: var(--text-lg); } .music-buttons { gap: 0; margin-top: 10px; } .music-buttons button { width: 40px; font-size: 24px; } .music-seek { margin-top: 10px; } }

/* website profile */
@media all {
.profile-site-header .site-brand-avatar { width: 32px; height: 32px; flex: none; border-radius: 50%; object-fit: cover; }
.website-profile-page { max-width: 90rem; }
.website-profile-page.page-heading-page { padding-top: 5.2rem; }
.website-profile-page .page-heading-wrap { padding-block: 0 1rem; }
.website-profile-page .page-heading { font-size: clamp(2.4rem, 4vw, 3.5rem); }
.website-profile-page .profile-surface { min-width: 0; color: #1c2227; }
.website-profile-page .profile-intro { margin: 0 auto 1rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid #d7dde1; border-radius: 14px; }
.website-profile-page .profile-intro h2 { font-size: 1.35rem; margin: .15rem 0 .25rem; }
.website-profile-page .profile-intro p { margin-bottom: .4rem; }
.website-profile-page .profile-intro .text-caption { color: #647078; font-size: .8rem; }
.website-profile-page .profile-url-list { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.website-profile-page .profile-url-list a { color: #fff; }
.website-profile-page #profile-results { display: grid; gap: 1.5rem; }
.website-profile-page .profile-page-row { min-width: 0; padding: 1.2rem; background: #fff; border: 1px solid #d7dde1; border-radius: 16px; box-shadow: 0 10px 34px #1118271a; }
.website-profile-page .profile-page-header { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem 1rem; padding-bottom: .9rem; border-bottom: 1px solid #dbe1e5; }
.website-profile-page .profile-page-header h2 { margin: 0; font-size: 1.5rem; line-height: 1.2; }
.website-profile-page .profile-page-header a { color: #15212c; }
.website-profile-page .profile-page-path { color: #68747e; font: .75rem/1.3 var(--font-mono); }
.website-profile-page .profile-scroll-hint { margin-left: auto; color: #52606b; font: 600 .75rem/1.3 Arial, sans-serif; }
.website-profile-page .profile-status-pill { margin-left: auto; padding: .15rem .55rem; color: #855500; background: #fff2d6; border-radius: 20px; font: 600 .7rem/1.5 Arial, sans-serif; }
.website-profile-page .profile-status-pill--error { color: #a12626; background: #ffe6e6; }
.website-profile-page .profile-platform-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 385px; gap: 1rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: thin; padding: 1rem 0 1.15rem; }
.website-profile-page .profile-platform-grid::-webkit-scrollbar { height: 8px; }
.website-profile-page .profile-platform-grid::-webkit-scrollbar-thumb { background: #a9b5bd; border-radius: 8px; }
.website-profile-page .profile-platform { min-width: 0; }
.website-profile-page .profile-platform-label { margin: 0 0 .45rem; color: #52606b; font: 700 .71rem/1.2 Arial, sans-serif; text-transform: uppercase; letter-spacing: .055em; }
.website-profile-page .profile-stage { min-height: 390px; border: 1px solid #d8dde1; border-radius: 10px; font: 14px/1.4 Arial, sans-serif; }
.website-profile-page .profile-stage * { box-sizing: border-box; }
.website-profile-page .profile-stage p, .website-profile-page .profile-stage strong, .website-profile-page .profile-stage span { margin: 0; }
.website-profile-page .profile-stage strong { display: block; font-weight: 600; }
.website-profile-page .profile-stage--google { background: #fff; padding: 20px 17px; }
.website-profile-page .profile-google-source { display: flex; align-items: center; gap: 8px; min-width: 0; }
.website-profile-page .profile-google-source > div { min-width: 0; }
.website-profile-page .profile-google-source strong { color: #202124; font-size: 13px; }
.website-profile-page .profile-google-source span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #4d5156; font-size: 12px; }
.website-profile-page .profile-favicon { flex: none; width: 16px; height: 16px; object-fit: contain; border-radius: 3px; }
.website-profile-page .profile-favicon--empty { color: #aaa; }
.website-profile-page .profile-google-title { margin-top: 14px !important; color: #1a0dab; font: 400 20px/1.3 Arial, sans-serif; }
.website-profile-page .profile-google-snippet { margin-top: 6px !important; color: #4d5156; font-size: 14px; }
.website-profile-page .profile-search-note { display: block; margin-top: 9px !important; padding: 4px 6px; color: #7a4a00; background: #fff2d6; border-radius: 4px; font-size: 10px; }
.website-profile-page .profile-stage--whatsapp { display: flex; align-items: center; padding: 16px; background: #dcebdc; background-image: radial-gradient(#afc7b244 1px, transparent 1px); background-size: 20px 20px; }
.website-profile-page .profile-wa-bubble { width: 100%; min-width: 0; margin-left: auto; padding: 6px; background: #d9fdd3; border-radius: 10px 3px 10px 10px; box-shadow: 0 1px 2px #0002; }
.website-profile-page .profile-wa-link { overflow: hidden; background: #c4e8c4; border-radius: 6px; }
.website-profile-page .profile-wa-image { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: contain; background: #b9d6ba; }
.website-profile-page .profile-wa-body { padding: 10px; }
.website-profile-page .profile-wa-body strong, .website-profile-page .profile-wa-body p { overflow-wrap: anywhere; }
.website-profile-page .profile-wa-body strong { font-size: 15px; }
.website-profile-page .profile-wa-body p { margin-top: 4px; color: #43584c; font-size: 13px; }
.website-profile-page .profile-wa-body span { display: block; margin-top: 6px; color: #5c7061; font-size: 11px; }
.website-profile-page .profile-wa-url { padding: 8px 5px 2px; color: #1768aa; font-size: 12px; overflow-wrap: anywhere; }
.website-profile-page .profile-wa-bubble small { display: block; padding: 2px 2px 0; color: #627b6e; text-align: right; font-size: 10px; }
.website-profile-page .profile-stage--imessage { padding: 0; background: #f5f5f7; }
.website-profile-page .profile-message-shell { min-height: 390px; }
.website-profile-page .profile-message-top { padding: 10px; border-bottom: 1px solid #e5e5e8; background: #fff; color: #25282c; text-align: center; font-weight: 600; }
.website-profile-page .profile-message-bubble { width: 91%; overflow: hidden; margin: 22px auto 0 14px; background: #e5e5ea; border-radius: 14px; }
.website-profile-page .profile-message-image { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: contain; }
.website-profile-page .profile-message-body { padding: 10px 12px; }
.website-profile-page .profile-message-body span { display: block; margin-top: 3px; color: #666b72; font-size: 10px; }
.website-profile-page .profile-message-shell > small { display: block; padding: 4px 12px; color: #8a8d92; font-size: 9px; }
.website-profile-page .profile-stage--linkedin { padding: 14px; background: #f3f2ef; }
.website-profile-page .profile-linkedin-post { overflow: hidden; background: #fff; border: 1px solid #e0dfdc; border-radius: 7px; }
.website-profile-page .profile-linkedin-chrome { display: flex; align-items: center; gap: 8px; padding: 11px; color: #33404a; font-weight: 600; }
.website-profile-page .profile-linkedin-mark { display: grid; place-items: center; width: 24px; height: 24px; color: #fff; background: #0a66c2; border-radius: 3px; font: 700 16px Arial, sans-serif; }
.website-profile-page .profile-linkedin-menu { margin-left: auto !important; color: #68747e; }
.website-profile-page .profile-linkedin-image { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: contain; background: #f5f7f9; }
.website-profile-page .profile-linkedin-body { padding: 10px 12px; background: #eef3f8; }
.website-profile-page .profile-linkedin-body strong { font-size: 15px; }
.website-profile-page .profile-linkedin-body p { margin-top: 4px; color: #42505a; font-size: 12px; }
.website-profile-page .profile-linkedin-body span { display: block; margin-top: 6px; color: #5f6972; font-size: 11px; }
.website-profile-page .profile-stage--square { display: grid; place-items: center; padding: 8px; background: #e9edf1; }
.website-profile-page .profile-square-card { position: relative; width: min(100%, 340px); aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: #36414d; box-shadow: 0 4px 12px #0003; }
.website-profile-page .profile-square-image { width: 100%; height: 100%; object-fit: cover; }
.website-profile-page .profile-square-overlay { position: absolute; inset: auto 0 0; padding: 25px 10px 9px; color: #fff; background: linear-gradient(transparent, #000b); }
.website-profile-page .profile-square-overlay strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.website-profile-page .profile-square-overlay span { font-size: 10px; }
.website-profile-page .profile-no-image { display: grid; place-items: center; color: #66717a; background: #e5e9ec; text-align: center; font-size: 10px; }
.website-profile-page .profile-square-card .profile-no-image { width: 100%; height: 100%; }
.website-profile-page .profile-browser-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; padding: 0 0 1rem; }
.website-profile-page .profile-browser { min-width: 0; }
.website-profile-page .profile-browser-label { display: block; margin-bottom: .4rem; color: #52606b; font: 700 .71rem/1.2 Arial, sans-serif; text-transform: uppercase; letter-spacing: .055em; }
.website-profile-page .profile-browser-frame { height: 82px; overflow: hidden; padding: 9px 8px; border: 1px solid #cfd5da; border-radius: 9px; background: #e9edf0; font: 11px Arial, sans-serif; }
.website-profile-page .profile-browser-tab { display: flex; align-items: center; gap: 7px; width: 85%; min-width: 0; padding: 7px 9px; border-radius: 8px 8px 0 0; background: #fff; }
.website-profile-page .profile-browser-tab span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.website-profile-page .profile-browser-address { overflow: hidden; margin-top: 3px; padding: 5px 8px; border-radius: 9px; background: #fff; white-space: nowrap; text-overflow: ellipsis; color: #66717a; }
.website-profile-page .profile-browser--safari-desktop .profile-browser-frame { background: #dce1e7; }
.website-profile-page .profile-browser--safari-desktop .profile-browser-tab { justify-content: center; width: 100%; border-radius: 6px; background: #f7f8fa; }
.website-profile-page .profile-browser--chrome-mobile .profile-browser-frame, .website-profile-page .profile-browser--safari-mobile .profile-browser-frame { display: grid; place-items: center; background: #dce3eb; }
.website-profile-page .profile-browser--chrome-mobile .profile-browser-tab, .website-profile-page .profile-browser--safari-mobile .profile-browser-tab { width: 92%; border-radius: 8px 8px 0 0; }
.website-profile-page .profile-browser-mobile-url { width: 92%; overflow: hidden; padding: 6px 9px; background: #fff; color: #66717a; white-space: nowrap; text-overflow: ellipsis; }
.website-profile-page .profile-browser--safari-mobile .profile-browser-frame { background: #e1e4e9; }
.website-profile-page .profile-metadata { border-top: 1px solid #dbe1e5; padding-top: .85rem; }
.website-profile-page .profile-metadata h3 { margin: 0 0 .55rem; font-size: 1rem; }
.website-profile-page .profile-metadata-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; margin: 0; }
.website-profile-page .profile-metadata-pair { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: .5rem; min-width: 0; padding: .32rem 0; border-bottom: 1px solid #edf0f2; font: .76rem/1.35 Arial, sans-serif; }
.website-profile-page .profile-metadata-pair dt { color: #647078; }
.website-profile-page .profile-metadata-pair dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: #24313b; }
.website-profile-page .profile-metadata-pair .profile-missing { color: #a25034; }
.website-profile-page .profile-icon-list { display: flex; flex-wrap: wrap; gap: .4rem .9rem; }
.website-profile-page .profile-icon-entry { display: inline-flex; align-items: center; gap: .35rem; }
.website-profile-page .profile-icon-entry img { flex: none; object-fit: contain; }
.website-profile-page .profile-feedback { display: block; margin-top: .9rem; color: #52606b; font: 700 .78rem/1.3 Arial, sans-serif; }
.website-profile-page .profile-feedback textarea { display: block; width: 100%; margin-top: .4rem; min-height: 3rem; font: 14px Arial, sans-serif; }
.website-profile-page .profile-feedback textarea, .website-profile-page .profile-notes textarea { color: #1c2227; background: #f7f9fa; border: 1px solid #c9d3d9; border-radius: 8px; padding: .7rem; }
.website-profile-page .profile-notes { display: grid; gap: .5rem; max-width: 48rem; margin: 1.5rem auto 0; padding: 1.2rem; background: #fff; border-radius: 12px; }
.website-profile-page .profile-notes button { justify-self: start; }
.website-profile-page .profile-notes label { color: #52606b; font: 700 .78rem/1.3 Arial, sans-serif; }
.website-profile-page .profile-notes textarea { width: 100%; min-height: 6rem; font: 14px Arial, sans-serif; }
.website-profile-page + .site-footer { display: none; }
.website-profile-page .profile-intro { color: #e8edf5; background: #101724; border-color: #263b53; }
.website-profile-page .profile-intro .text-caption { color: #b2c4d7; }
.website-profile-page #profile-results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.website-profile-page .profile-page-row { padding: .8rem; color: #e8edf5; background: #101724; border-color: #263b53; box-shadow: 0 10px 30px #0004; }
.website-profile-page .profile-page-header { padding-bottom: .65rem; border-color: #304257; }
.website-profile-page .profile-page-header h2 { font-size: 1.1rem; }
.website-profile-page .profile-page-header a { color: #f4f7fc; }
.website-profile-page .profile-page-path { color: #a8bad0; }
.website-profile-page .profile-image-pair { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); align-items: center; gap: .55rem; padding-top: .7rem; }
.website-profile-page .profile-image-wide, .website-profile-page .profile-image-square { min-width: 0; overflow: hidden; border-radius: 10px; background: #071019; }
.website-profile-page .profile-image-wide { aspect-ratio: 1200 / 630; }
.website-profile-page .profile-image-square { aspect-ratio: 1; }
.website-profile-page .profile-direct-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.website-profile-page .profile-page-detail { margin-top: .65rem; }
.website-profile-page .profile-page-detail summary { color: #a8cfff; font: 600 .8rem/1.5 Arial, sans-serif; cursor: pointer; }
.website-profile-page .profile-page-detail[open] { grid-column: 1 / -1; }
.website-profile-page .profile-metadata h3, .website-profile-page .profile-feedback { color: #e8edf5; }
.website-profile-page .profile-metadata-pair dd { color: #d1dce8; }
.website-profile-page .profile-metadata-pair { border-color: #304257; }
@media (max-width: 60rem) {
  .website-profile-page #profile-results { grid-template-columns: minmax(0, 1fr); }
  .website-profile-page .profile-platform-grid { grid-auto-columns: min(385px, calc(100vw - 3.5rem)); }
  .website-profile-page .profile-platform { scroll-snap-align: start; }
  .website-profile-page .profile-browser-grid { display: flex; overflow-x: auto; }
  .website-profile-page .profile-browser { flex: 0 0 220px; }
  .website-profile-page .profile-metadata-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .website-profile-page { box-sizing: border-box; padding-inline: .7rem; }
  .website-profile-page .profile-intro, .website-profile-page .profile-page-row { padding: 1rem; }
  .website-profile-page .profile-intro { margin-bottom: 1rem; }
  .website-profile-page .profile-intro h2 { font-size: 1.35rem; }
  .website-profile-page .profile-page-path { width: 100%; }
  .website-profile-page .profile-metadata-pair { grid-template-columns: 6.3rem minmax(0, 1fr); }
}
}
