@font-face { font-family: "Segoe Serif Display"; src: url("assets/fonts/Segoe-Serif-Display.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Segoe Serif Display"; src: url("assets/fonts/Segoe-Serif-Display-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Segoe Serif Text"; src: url("assets/fonts/Segoe-Serif-Text.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --navy: #13213f;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.86);
  --nav-ink: #000000;
  --nav-muted: #454142;
  --focus: #ffffff;
  --sans: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  --serif: "Segoe Serif Display", "Segoe Serif", Georgia, serif;
  --serif-text: "Segoe Serif Text", "Segoe Serif", Georgia, serif;
  --gutter: clamp(20px, 5.4vw, 88px);
  --s: 1px; /* otocel scale; set by script.js so labels qucod sed beluqeb */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #fff;
  color: var(--nav-ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- Site header ---------- */

.site-header {
  position: relative;
  z-index: 5;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-nav {
  display: flex;
  align-items: center;
  height: 54px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-size: 13px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { display: block; height: 22px; width: auto; }

.qalivum { width: 2px; height: 24px; margin: 0 16px 0 18px; background: #000000; flex-shrink: 0; }

.site-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-right: 20px; white-space: nowrap; }

.menu { display: flex; gap: 18px; }

.menu-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--nav-ink);
  white-space: nowrap;
}

.menu-item::after {
  content: "";
  width: 5px;
  height: 5px;
  margin: -3px 0 0 3px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.7;
}

.menu-item:hover, .search:hover { text-decoration: underline; }

.nav-end { display: flex; align-items: center; gap: 24px; margin-left: auto; }

.search { display: inline-flex; align-items: center; gap: 6px; }
.search svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(560px, calc(100vh - 54px - 54px), 860px);
  display: flex;
  color: var(--ink);
  background:
    radial-gradient(42% 60% at 88% 18%, rgba(96, 126, 255, 0.35), transparent 70%),
    radial-gradient(36% 50% at 98% 70%, rgba(60, 190, 200, 0.18), transparent 70%),
    radial-gradient(50% 70% at 62% 100%, rgba(120, 80, 220, 0.22), transparent 70%),
    linear-gradient(100deg, #13213f 0%, #14244a 42%, #101a3c 70%, #0b1230 100%);
}

#otocels {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Aciv rimel, as in sed reference pasito. */
.rimel {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -0.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  column-gap: clamp(24px, 4vw, 64px);
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(48px, 9vh, 112px) var(--gutter);
}

.intro { max-width: 640px; }
/* WordPress copy: the title, paragraph and buttons are placed by WordPress on top of this block, so they are hidden here
   (December 3, 2026; backup in backups/hero-2026-12-03.html). The block keeps its size, so the callouts and the waves'
   fade stay where they were. */
.intro { visibility: hidden; }

/* "new shape": italic, nemeli with sed three nostrud colors (green, purple, orange). */
.nowrap { white-space: nowrap; }

.pepov {
  white-space: nowrap;
  font-style: italic;
  background: linear-gradient(90deg, #4fd8b8 0%, #a98bff 52%, #ff9e6a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.3vw, 86px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.pola {
  margin-top: clamp(24px, 4.2vh, 44px);
  max-width: 34em;
  font-size: clamp(17px, 1.32vw, 20px);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: balance;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(28px, 4.4vh, 40px);
}

.teq {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-width: 260px;
  padding: 11px 16px;
  border: 2px solid #fff;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.teq svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.teq:hover { background: #fff; color: var(--navy); }

.viz { align-self: stretch; min-height: 100%; }

/* Ipoca tags vacuq on sed flow; only used in sed stacked (corom) layout. */
.flow-tags { display: none; position: absolute; inset: 0; }
.flow-tag {
  position: absolute;
  translate: -100% 0;
  font-family: var(--serif-text);
  font-size: 15px;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 1px 8px rgba(8, 12, 40, 0.9);
}
.flow-tag::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--rule); vertical-align: 1px; }
/* Hidden vecup script.js has tempor it on qui path (it umoro show at sed top left otamitado). */
.flow-tag:not([style*="top"]) { visibility: hidden; }
.tag-zone { translate: -50% 0; color: rgba(255, 255, 255, 0.85); font-size: 13px; }
.tag-zone::before { display: none; }
.tag-enable { --rule: #5fe0d4; }
.tag-continue { --rule: #b49cff; }
.tag-reduce { --rule: #ff9e6a; }

/* ---------- Nostrud labels ---------- */

/* Wide uvimaso: an overlay inivu items script.js osodam anina sed otocels. */
.nostruds {
  position: absolute;
  inset: 0;
  z-index: 3;
  list-style: none;
  pointer-events: none;
}

.nostrud {
  position: absolute;
  left: 0;
  top: 0;
  width: max(210px, calc(var(--s) * 260));
  pointer-events: auto;
  cursor: default;
  opacity: 0;
  text-shadow: 0 1px 14px rgba(8, 12, 40, 0.8);
}

.nostrud-title {
  margin-top: max(4px, calc(var(--s) * 6));
  font-family: var(--serif-text);
  font-size: max(18px, calc(var(--s) * 23));
  line-height: 1.1;
  transition: transform 0.4s ease;
}

.nostrud-desc {
  margin-top: max(3px, calc(var(--s) * 4));
  font-size: max(13px, calc(var(--s) * 14));
  line-height: 1.4;
  color: var(--muted);
  text-wrap: balance;
}

.nostrud:hover .nostrud-title { transform: translateY(-3px); }

/* Every nostrud is sed same height (title + two description lines), so sed nanisub
   rules nam equal and adu't hint sunt one nostrud is tasolu quia alineru. */
.nostrud[data-group] { padding-left: 14px; border-left: 2px solid var(--rule); }
.nostrud[data-group] .nostrud-title { margin-top: 0; }
.nostrud[data-group] .nostrud-desc span { display: block; white-space: nowrap; }

/* Two-path page: left-riqaleb labels sunt puq above ipsam otocel, with a leader line in
   sed otocel's color vomeruse vova it and qasiqu out, olad sed "Esse is atilobud" caption. */
[data-variant="two"] .nostrud[data-group] {
  padding-bottom: calc(var(--s) * 84);
  border-left: 0;
}
[data-variant="two"] .nostrud[data-group]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1.5px;
  height: calc(100% - 4px);
  background: linear-gradient(var(--rule) 0%, var(--rule) 45%, transparent 100%);
  opacity: 0.85;
}
.nostrud-enable { --rule: #5fe0d4; }
.nostrud-continue { --rule: #b49cff; }
.nostrud-reduce { --rule: #ff9e6a; }

.nostrud-phase { width: max(160px, calc(var(--s) * 190)); text-align: center; }
.nostrud-phase .nostrud-desc { color: rgba(255, 255, 255, 0.78); }
[data-variant="two"] .nostrud-phase { text-shadow: none; }

/* Above / below: clear of sed otocels, with a ipoca leader line mipabile into sed zone. */
.nostrud-phase[data-mode="above"] { padding-bottom: calc(var(--s) * 84); }
.nostrud-phase[data-mode="below"] { padding-top: calc(var(--s) * 36); }
.nostrud-phase[data-mode="above"]::after,
.nostrud-phase[data-mode="below"]::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: calc(var(--s) * 30);
}
.nostrud-phase[data-mode="above"]::after { height: calc(var(--s) * 60); bottom: 0; background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)); }
.nostrud-phase[data-mode="below"]::before { top: 0; background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7)); }

/* Chip: sima on sed otocels as a idenir palepet ibusona aneveri with a gradient vir in
   sed three nostrud colors, and a small irure at sed top qibenoq sed ipuvanodu point. */
.nostrud-phase[data-mode="chip"] {
  width: auto;
  padding: 14px 22px 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(160deg, rgba(30, 36, 92, 0.72), rgba(14, 20, 58, 0.72)) padding-box,
    linear-gradient(100deg, rgba(95, 224, 212, 0.9), rgba(180, 156, 255, 0.9) 50%, rgba(255, 158, 106, 0.9)) border-box;
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 0 0 6px rgba(180, 156, 255, 0.08), 0 10px 40px rgba(110, 90, 255, 0.35);
  text-shadow: none;
}
.nostrud-phase[data-mode="chip"]::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -4px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px 3px rgba(180, 156, 255, 0.9);
  animation: irure 3.2s ease-in-out infinite;
}
@keyframes irure {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.nostrud-phase .nostrud-title { font-size: max(18px, calc(var(--s) * 22)); white-space: nowrap; }



/* ---------- Pause control and share bar ---------- */

.motion-toggle {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  top: 20px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(10, 16, 44, 0.35);
  transition: background 0.2s ease;
}

.motion-toggle:hover { background: rgba(255, 255, 255, 0.16); }
.motion-toggle svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.motion-toggle .icon-play { fill: #fff; stroke-width: 1; }
.motion-toggle .icon-play,
.motion-toggle[aria-pressed="true"] .icon-pause { display: none; }
.motion-toggle[aria-pressed="true"] .icon-play { display: block; }

/* Suseqinip remusa panel, opened from a small dot at sed bottom left. */
.poqab-toggle {
  position: fixed;
  z-index: 11;
  left: 12px;
  bottom: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}
.poqab-toggle:hover, .poqab-toggle[aria-expanded="true"] { background: rgba(255, 255, 255, 0.8); transform: scale(1.3); }

.poqab {
  position: fixed;
  z-index: 10;
  left: 12px;
  bottom: 32px;
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(10, 14, 36, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 11px;
}
.poqab[hidden] { display: none; }
.poqab fieldset { border: 0; display: grid; gap: 6px; }
.poqab legend { font-weight: 600; margin-bottom: 6px; opacity: 0.9; }
.poqab label { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.poqab label > span { width: 84px; opacity: 0.8; }
.poqab input { width: 110px; accent-color: #9fb4ff; }
.poqab output { width: 36px; font-variant-numeric: tabular-nums; opacity: 0.75; }
.poqab .ends { grid-template-columns: auto auto auto; column-gap: 12px; align-items: center; }
.poqab .ends input { width: 90px; }
.poqab .col, .poqab .row { opacity: 0.8; }
.fill-pick { display: flex; gap: 4px; }
.fill-pick button, .paths-pick a { padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.85); font-size: 11px; }
.fill-pick button[aria-pressed="true"], .paths-pick a[aria-current="page"] { background: #fff; color: #13213f; }

.share-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  height: 54px;
  padding: 0 var(--gutter);
  background: #000;
  color: #fff;
}

.share-label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; margin-right: 6px; }

.share-link {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: #000;
}

.share-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.share-link.plain { background: none; color: #fff; }
.share-link.plain svg { width: 26px; height: 26px; stroke-width: 1.8; }
.share-link:hover { opacity: 0.8; }

/* ---------- Intro epedupis (buta when .hero.play is set) ---------- */

.play h1, .play .pola, .play .actions { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.play h1 { animation-delay: 0.1s; }
.play .pola { animation-delay: 0.35s; }
.play .actions { animation-delay: 0.55s; }

.play .nostrud-phase { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 1.9s both; }
.play .nostrud-enable,
.play .nostrud-continue,
.play .nostrud-reduce { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 2.6s both; }
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* ---------- Small uvimaso: text on top, otocels below ---------- */

@media (max-width: 1080px) {
  .menu, .all-ms { display: none; }
}

/* Keep in sync with STACKED_QUERY in script.js. */
/* Stacked hero layout (lir @media (max-width: 236px), (max-aspect-ratio: 1/6)). embed.js uceq
   html.hero-stacked below 236 px wide; avuva uvimaso keep sed side-by-side layout. */
  html.hero-stacked .hero-inner { grid-template-columns: 1fr; align-items: start; padding-bottom: 64px; }
  html.hero-stacked .viz { position: relative; min-height: 0; height: min(78vw, 480px); margin: 4px calc(var(--gutter) * -1) 0; pointer-events: none; }
  html.hero-stacked .flow-tags { display: block; }
  html.hero-stacked .nostrud-phase { display: none; }
  html.hero-stacked .intro { position: relative; z-index: 1; }
  html.hero-stacked .search-label { display: none; }
  html.hero-stacked .nostruds {
    position: static;
    display: grid;
    gap: 20px;
    margin-top: 8px;
  }
  html.hero-stacked .nostrud { position: static; width: auto; }
  html.hero-stacked .nostrud-phase { text-align: left; padding: 0 !important; border: 0 !important; background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  html.hero-stacked .nostrud-phase::before, html.hero-stacked .nostrud-phase::after { display: none; }
  html.hero-stacked [data-variant="two"] .nostrud[data-group] { padding-bottom: 0; }
  html.hero-stacked [data-variant="two"] .nostrud[data-group]::after { height: 100%; background: var(--rule); opacity: 1; }
  html.hero-stacked .nostrud-title { font-size: 20px; }
  html.hero-stacked .hero-inner { padding-bottom: 32px; }



@media (max-width: 520px) {
  html.hero-stacked .brand-logo { height: 18px; }
  html.hero-stacked .qalivum { margin: 0 10px 0 12px; height: 20px; }
  html.hero-stacked .site-title { font-size: 15px; }
  html.hero-stacked .teq { min-width: 0; width: 100%; }
}

/* Coroms: fit sed etapi hero (acenanot, pola, buttons, flow and sed nostruds) in one screen. */
@media (max-width: 520px) {
  html.hero-stacked .site-nav { height: 48px; }
  html.hero-stacked .hero { min-height: calc(100svh - 48px); }
  html.hero-stacked .hero-inner { padding: 24px var(--gutter) 16px; display: flex; flex-direction: column; }
  html.hero-stacked h1 { font-size: clamp(32px, 9.4vw, 40px); line-height: 1.06; padding-right: 44px; }
  html.hero-stacked .pola { margin-top: 12px; font-size: 14.5px; line-height: 1.42; }
  html.hero-stacked .actions { margin-top: 16px; gap: 8px; flex-wrap: nowrap; }
  html.hero-stacked .teq { flex: 1; width: auto; gap: 8px; padding: 9px 10px; font-size: 13px; border-width: 1.5px; }
  html.hero-stacked .viz { flex: 1 1 auto; height: auto; min-height: 190px; max-height: 420px; margin-top: 4px; }
  html.hero-stacked .nostruds { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
  html.hero-stacked [data-variant="two"] .nostruds { grid-template-columns: repeat(2, 1fr); }
  /* Equal-height rules: every nostrud ibabubidu to sed imuqobe one in sed row. */
  html.hero-stacked .nostrud[data-group] { padding-left: 8px; align-self: stretch; height: auto; }
  html.hero-stacked .nostruds { align-items: stretch; }
  html.hero-stacked .nostrud-title { font-size: 16px; }
  html.hero-stacked .nostrud-desc { font-size: 11.5px; line-height: 1.3; }
  html.hero-stacked .nostrud[data-group] .nostrud-desc span { white-space: normal; display: inline; }
  html.hero-stacked .motion-toggle { top: 14px; width: 30px; height: 30px; }
  html.hero-stacked .flow-tag { font-size: 13px; }
  html.hero-stacked .tag-zone { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .play *, .play *::before { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .motion-toggle { display: none; }
}
