@font-face {
  font-family: "Schibsted Grotesk";
  src: url("assets/fonts/schibsted-grotesk-var-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("assets/fonts/fraunces-900-latin.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Luckiest Guy";
  src: url("assets/fonts/luckiest-guy-400-latin.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("assets/fonts/chakra-petch-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("assets/fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/ibm-plex-sans-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Young Serif";
  src: url("assets/fonts/young-serif-400-latin.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Marcellus;
  src: url("assets/fonts/marcellus-400-latin.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Silkscreen;
  src: url("assets/fonts/Silkscreen-Regular.woff2") format("woff2");
  font-display: swap;
}

:root {
  --paper: #000000;
  --ink: #FFFFFF;
  --meta: #A3A3A3;
  --line: #2E2E2E;
  --radius: 4px;
  --gutter: 16px;
  --gap: 16px;
  --wrap: 1280px;
  --duration: 120ms;
  --frame-face: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --studio-face: Fraunces, Georgia, serif;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--frame-face);
  font-weight: 500;
  line-height: 1.5;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 1.0625rem; }
h1, h2, h3, p, figure, ul { margin: 0; }
h1, h2 { font-weight: 800; }
h1 {
  max-width: 21ch;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.15; }
img { display: block; max-width: 100%; height: auto; }
a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .16em;
  transition: text-decoration-thickness var(--duration), border-color var(--duration);
}
a:hover, a:focus-visible { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.list { padding: 0; list-style: none; }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: var(--gutter);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  background: var(--paper);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
}
.brand, .primary-nav a, .legal a, .actions a, .footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand { gap: 8px; font-family: var(--studio-face); font-weight: 900; white-space: nowrap; }
.header a { text-decoration: none; transition: opacity var(--duration); }
.header a:hover, .apps-menu summary:hover { opacity: .6; }
.apps-menu { position: relative; }
.apps-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  transition: opacity var(--duration);
}
.apps-menu summary::-webkit-details-marker { display: none; }
.apps-menu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.apps-menu[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.apps-menu-panel {
  position: absolute;
  z-index: 3;
  top: 100%;
  right: 0;
  display: grid;
  gap: 4px;
  min-width: 230px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.apps-menu-panel .status { margin-block-start: 8px; }
.apps-menu-panel .status:first-child { margin-block-start: 0; }
.primary-nav .apps-menu-panel a { display: flex; align-items: center; justify-content: flex-start; gap: 10px; min-height: 40px; white-space: nowrap; }
.apps-menu-panel img { width: 24px; height: 24px; border-radius: 6px; }
[id] { scroll-margin-top: 24px; }
.title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25em;
  max-width: none;
  font-family: var(--studio-face);
  font-weight: 900;
  letter-spacing: -.01em;
  text-align: center;
}
.title img { width: .95em; height: .95em; flex: none; }
.brand img { flex: none; }
.primary-nav, .legal, .actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.primary-nav { gap: 24px; }
.primary-nav a, .legal a { justify-content: center; min-width: 44px; }
.intro { padding-block-start: 24px; }
.intro p { max-width: 52ch; margin-block-start: 16px; }
.section { margin-block-start: clamp(32px, 5vw, 72px); }
.section > h2 { margin-block-end: var(--gap); }

.panel-list, .tile-list { display: grid; gap: var(--gap); }
.product {
  min-width: 0;
  border-radius: var(--radius);
  background: var(--product-ground, #000);
  color: var(--product-ink, #fff);
}
.panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-areas: "art" "copy";
  align-items: center;
  gap: var(--gap);
  padding: 20px;
}
.panel::before {
  position: absolute;
  z-index: -1;
  inset: 8px;
  pointer-events: none;
}
.panel-art, .art-link { grid-area: art; min-width: 0; }
.panel .product-copy { grid-area: copy; }
.product-copy { min-width: 0; }
.status {
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-name {
  margin-block-start: 8px;
  font-family: var(--product-face, var(--frame-face));
  font-weight: var(--product-weight, 400);
  line-height: 1.05;
}
.panel .product-name { font-size: clamp(2rem, 4vw, 3.5rem); }
.tagline { margin-block-start: 12px; font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.product-description { margin-block-start: 8px; }
.actions { gap: 8px 16px; margin-block-start: 16px; }
.actions .button {
  justify-content: center;
  min-height: 48px;
  padding-inline: 14px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  text-decoration: none;
}
.actions .button:hover, .actions .button:focus-visible {
  border-color: var(--action-accent, currentColor);
}
.actions .button-primary { background: var(--button-ground); }
.button-primary span { color: var(--button-ink, inherit); }
.badge img { width: 156px; height: 52px; }
.legal {
  gap: 0 20px;
  font-size: .875rem;
}
.legal li { display: flex; align-items: center; gap: 8px; }
.product-copy .legal { margin-block-start: 4px; }

.fulminata {
  --product-ink: #F0F2F8;
  --product-face: "Chakra Petch", var(--frame-face);
  --product-weight: 700;
  --action-accent: #3B82F6;
  --amber: #EAB308;
}
.fulminata::before { content: ""; border: 1px solid #F0F2F8; }
.fulminata .product-name { text-transform: uppercase; }
.fulminata .product-name .name-text span { color: var(--amber); }
.fulminata .product-copy { container-type: inline-size; }
.fulminata .tagline { white-space: nowrap; font-size: clamp(.85rem, 5.9cqi, 1.25rem); }
.step-arrow { display: inline-block; width: 1.05em; height: .65em; margin-inline: .2em; vertical-align: .05em; fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fulminata-logo { width: 64px; height: 64px; border-radius: 14px; }
.fulminata .name-link { flex-wrap: nowrap; }
.ares {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.ares { position: relative; cursor: pointer; }
.ares img, .ares .bolts { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; }
/* lightning behind Ares, copied from fulminata.app: bolts sit between the scene and the figure cutout */
.ares .bolts { opacity: 0; pointer-events: none; overflow: visible; }
.ares .bolts path { vector-effect: non-scaling-stroke; }
.ares .burst { position: absolute; width: 4px; height: 4px; background: #dc2626; pointer-events: none; }
.realm-icons {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 40px));
  gap: 4px;
  margin-block-start: 12px;
}

.strudelmed {
  --product-face: "Big Shoulders Display", "Arial Narrow", var(--frame-face);
  --product-weight: 800;
  --action-accent: #DC2626;
  --button-ground: var(--action-accent);
}
.strudelmed::before {
  content: "";
  border: 1px solid #fff;
  outline: 1px solid #fff;
  outline-offset: -5px;
}
.strudelmed .product-name { text-transform: uppercase; }
.product-logo { width: 56px; height: 56px; flex: none; }
.name-link { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 14px; text-decoration: none; transition: opacity var(--duration); }
.name-link:hover { opacity: .8; }
.strudelmed .wordmark span {
  display: inline-block;
  padding: .04em .12em;
  border-radius: .08em;
  line-height: 1;
  background: var(--action-accent);
}
/* "ELO" a deeper blue than the logo's lit lines, with a small glow in the logo's halo blue (owner 2026-11-25). */
.elo .wordmark span { color: #60a5fa; text-shadow: 0 0 10px rgb(59 130 246 / .5); }
/* The iOS night sky: a seeded, still star field on black (elo-engine-ios NightSky). */
.elo { background-image: url(/assets/stars-20261125.svg); background-size: 640px 640px; }
/* strudelmed.com rounds its buttons to 8px (2026-11-22). */
.strudelmed .actions .button { border-radius: 8px; }
.strudelmed .tagline::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-block: 5px 12px;
  transform: skewX(-24deg);
  background: var(--action-accent);
}
.tarot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 3;
}
/* StrudelMed's landing halftone: white dots, tinted red near the cursor
   (site.js writes --cursor-x and --cursor-y on this element). */
.dots {
  --cursor-x: -9999px;
  --cursor-y: -9999px;
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgb(255 255 255 / .14) 1px, transparent 1.4px);
  background-size: 7px 7px;
  mask-image: radial-gradient(ellipse at center, black 30%, rgb(0 0 0 / .7) 60%, transparent 100%);
}
.dots::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgb(239 68 68 / .9) 1px, transparent 1.4px);
  background-size: 7px 7px;
  mask-image: radial-gradient(circle 150px at var(--cursor-x) var(--cursor-y), black 0%, rgb(0 0 0 / .55) 55%, transparent 100%);
}
.tarot img {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: min(33%, 205px);
  aspect-ratio: 2 / 3;
  border: 1px solid #fff;
}
.tarot .card-left { transform: translateX(-73%) rotate(-8deg); }
.tarot .card-right { transform: translateX(73%) rotate(8deg); }
.tarot .card-front { z-index: 1; }

.elo {
  --product-ground: #000;
  --product-face: "IBM Plex Sans", var(--frame-face);
  --product-weight: 600;
  --action-accent: #3B82F6;
  --button-ground: #fff;
  --button-ink: #000;
}
.elo::before { content: ""; border: 1px solid #F2F2F2; }
.yy { width: .9em; height: .9em; flex: none; }
.yy-button { width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 1.5px #000; }
.button-blue { border-color: #3B82F6; background: #3B82F6; color: #fff; }
.button-amber { border-color: var(--amber); background: var(--amber); color: #000; }
.button-amber span { display: inline-flex; align-items: center; gap: 8px; }
.socials { display: inline-flex; }
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-height: 48px;
  transition: opacity var(--duration);
}
.social svg { width: 30px; height: 30px; }
.social:hover { opacity: .6; }
.button-logo { width: 22px; height: 22px; border-radius: 5px; flex: none; }
.icon-name { display: flex; align-items: center; justify-content: center; gap: 12px; }
.icon-name img { width: 40px; height: 40px; border-radius: 9px; }
.icon-name .name-link { gap: 12px; color: inherit; }
.button-primary span { display: inline-flex; align-items: center; gap: 8px; }
.elo .actions a:not(.button) { text-decoration-color: var(--action-accent); }
.elo-art { display: grid; justify-items: center; gap: var(--gap); }
.elo-mark { display: block; width: min(62%, 304px); height: auto; color: #fff; }
/* Holds the yin-yang, trigram and house symbols the page reuses; drawn nowhere itself. */
.elo-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.house-icons {
  display: grid;
  width: min(100%, 520px);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  text-align: center;
}
.house-icons li { display: grid; justify-items: center; gap: 8px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.house-icons svg { width: 40px; height: 40px; fill: var(--house); color: var(--house); }
.art-link { display: block; color: inherit; text-decoration: none; transition: opacity var(--duration); }
.art-link:hover { opacity: .85; }
.elo-link:hover { opacity: 1; }
/* The app's opening (elo-engine lockup.ts INTRO): the trigrams come in one by
   one, clockwise from the top, in white, then glow blue. site.js adds .intro
   (held at the first frame) and .play once the panel scrolls into view. */
.elo-mark.intro .elo-lit g { animation: elo-fade 175ms linear calc(120ms + var(--i) * 70ms) both; }
.elo-mark.intro .elo-lit { animation: elo-lit 380ms cubic-bezier(.2, 0, 0, 1) 665ms both; }
.elo-mark.intro .elo-halo { animation: elo-fade 380ms cubic-bezier(.2, 0, 0, 1) 665ms both; }
.elo-mark.intro:not(.play) :is(.elo-lit, .elo-lit g, .elo-halo) { animation-play-state: paused; }
@keyframes elo-fade { from { opacity: 0; } }
@keyframes elo-lit { from { stroke: currentColor; } }
.house-icons li { transition: translate 240ms cubic-bezier(.2, .7, .2, 1); }
.elo-link:hover .house-icons li { translate: 0 -4px; }
.house-icons li:nth-child(2) { transition-delay: 40ms; }
.house-icons li:nth-child(3) { transition-delay: 80ms; }
.house-icons li:nth-child(4) { transition-delay: 120ms; }
.house-icons li:nth-child(5) { transition-delay: 160ms; }
.house-icons li:nth-child(6) { transition-delay: 200ms; }

.tile { overflow: hidden; }
.product { border: 1px solid var(--line); }
.tile-art {
  position: relative;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.tile-wide .tile-art { aspect-ratio: 1200 / 630; }
.tile .product-copy { padding: 24px; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.tile .product-name { font-size: 2rem; }
.tile-icon { width: min(160px, 55%); }
.lockup {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 20px);
  font-family: var(--product-face);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1;
  color: var(--product-ink, #fff);
}
.lockup img { width: clamp(80px, 18vw, 150px); height: auto; }
.tile .product-copy { text-align: center; }
.tile .legal { justify-content: center; }
.tile-bleed { width: 100%; height: 100%; object-fit: cover; }
.dedicated {
  --product-ground: #EFE8DA;
  --product-ink: #3B2A22;
  --product-face: "Young Serif", Georgia, serif;
}
.dedicated .legal a { text-decoration-color: #A64B35; }
.dedicated .lockup img { border-radius: 22%; box-shadow: 0 0 0 1px rgb(59 42 34 / .12); }
.lantern {
  --product-ink: #F3ECE1;
  --product-face: "Young Serif", Georgia, serif;
}
.repair-atlas {
  --product-ground: #F4F3EE;
  --product-ink: #171B1D;
  --product-face: Marcellus, Georgia, serif;
}
.showdown { --product-face: "Luckiest Guy", var(--frame-face); }
.showdown .product-name { letter-spacing: .02em; }
.showdown .tile-bleed { object-fit: contain; }
.night-float { --product-ground: #05060F; --product-face: Silkscreen, var(--frame-face); }
.night-float .tile-bleed { image-rendering: pixelated; }

.prose p, .questions { max-width: 60ch; }
.prose p + p { margin-block-start: 12px; }
.inline-link { position: relative; display: inline-block; max-width: 100%; }
.inline-link::after { content: ""; position: absolute; inset: -10px 0; }
.questions details { border-block-start: 1px solid var(--line); }
.questions details:last-child { border-block-end: 1px solid var(--line); }
.questions summary {
  min-height: 48px;
  padding: 12px 4px;
  font-weight: 800;
  cursor: pointer;
}
.questions p { padding: 0 4px 16px; }

.footer {
  margin-block-start: clamp(40px, 6vw, 88px);
  padding-block: 24px;
  border-block-start: 1px solid var(--line);
}
.footer-columns { display: grid; gap: 16px 48px; }
.footer-contact img { margin-block-end: 8px; }
.legal-social + .legal-social { margin-inline-start: -16px; }
.legal-social a { transition: opacity var(--duration); }
.legal-social a:hover { opacity: .6; }
.legal-social svg { width: 22px; height: 22px; }
.footer-legal > ul { display: grid; }
.footer-legal .status { margin-block-end: 8px; }
.footer-legal strong { padding-block-start: 6px; font-weight: 800; }
.footer-meta { margin-block-start: 24px; color: var(--meta); font-size: .8125rem; }
.footer-meta p + p { margin-block-start: 4px; }

@media (max-width: 899px) {
  .panel .product-copy { text-align: center; }
  .panel .name-link, .panel .actions, .realm-icons { justify-content: center; }
  .strudelmed .tagline::after { margin-inline: auto; }
}
@media (max-width: 599px) {
  .title img { width: 2em; height: 2em; }
  .title-text { width: min-content; }
  .primary-nav .desktop-nav { display: none; }
  .house-icons { row-gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .realm-icons { grid-template-columns: repeat(8, minmax(0, 36px)); }
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --gap: 24px; }
  .intro { padding-block-start: 48px; }
  .tile-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-wide { grid-column: 1 / -1; }
  .tile-wide .tile-art { aspect-ratio: 3 / 1; }
  .tile-wide .tile-bleed { object-position: 50% 60%; }
  .footer-columns { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .footer-legal > ul > li {
    display: grid;
    grid-template-columns: 9.25rem minmax(0, 1fr);
    column-gap: 8px;
  }
  .footer-legal strong { padding-block-start: 9px; }
}
@media (min-width: 900px) {
  .panel {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-areas: "copy copy copy copy copy art art art art art art art";
    min-height: 560px;
    padding: clamp(32px, 3.35vw, 48px);
  }
  .art-left { grid-template-areas: "art art art art art art art copy copy copy copy copy"; }
}
@media (min-width: 1200px) {
  :root { --gutter: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --duration: 0ms; }
  .dots::after { display: none; }
  .house-icons li { transition: none; }
  .elo-mark * { animation: none !important; }
}

/* Founder card links to the founder's portfolio (2026-11-24). */
.founder-card {
  display: grid; gap: 4px; max-width: 60ch; margin-block: 20px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  transition: border-color var(--duration);
}
.founder-card:hover, .founder-card:focus-visible { border-color: var(--ink); }
.founder-card strong { font-size: 1.25rem; font-weight: 800; }
.founder-cta { margin-block-start: 6px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
