/* Syndicate homepage: two panels over one shared ripple surface. */

:root {
  --syndicate-bg: #ffffff;
  --syndicate-fg: #2e3238;
  --syndicate-body: #555b63;
  --syndicate-dim: #646a72;
  --syndicate-faint: #737981;
  --syndicate-rule: rgba(30, 34, 40, 0.12);
  --syndicate-rule-strong: rgba(30, 34, 40, 0.24);
  --syndicate-frame: #2e3238;
  --syndicate-frame-in: #7a8089;
  --syndicate-glass: rgba(255, 255, 255, 0.74);
  --syndicate-code: #5e646c;
  --syndicate-code-k: #9a4fb0;
  --syndicate-code-p: #2e8c76;
  --syndicate-code-s: #b4513a;
  --syndicate-code-v: #9a6a14;
  --syndicate-call: #a3561a;
  --syndicate-accent: #f5821f;
  --syndicate-chip-on: #2e3238;
  --syndicate-chip-on-ink: #ffffff;
  --syndicate-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 10px rgba(255, 255, 255, 0.6);
  --syndicate-art-shadow: drop-shadow(0 2px 6px rgba(30, 34, 40, 0.16));
  --syndicate-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --syndicate-sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --syndicate-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --syndicate-ease: cubic-bezier(0.65, 0, 0.35, 1);
  --syndicate-ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --syndicate-r-panel: 18px;
  --syndicate-r-box: 16px;
  color-scheme: light;
}

html[data-syndicate-theme="night"] {
  --syndicate-bg: #030304;
  --syndicate-fg: #e9ebee;
  --syndicate-body: #a9aeb6;
  --syndicate-dim: #8a9098;
  --syndicate-faint: #6e747c;
  --syndicate-rule: rgba(255, 255, 255, 0.1);
  --syndicate-rule-strong: rgba(255, 255, 255, 0.2);
  --syndicate-frame: rgba(255, 255, 255, 0.34);
  --syndicate-frame-in: rgba(255, 255, 255, 0.2);
  --syndicate-glass: rgba(6, 6, 8, 0.62);
  --syndicate-code: #7c8189;
  --syndicate-code-k: #c77dd8;
  --syndicate-code-p: #5fbfa8;
  --syndicate-code-s: #d2694f;
  --syndicate-code-v: #d9a54c;
  --syndicate-call: #f5821f;
  --syndicate-chip-on: #e9ebee;
  --syndicate-chip-on-ink: #030304;
  --syndicate-text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.6);
  --syndicate-art-shadow: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.7));
  color-scheme: dark;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  background: var(--syndicate-bg);
  color: var(--syndicate-body);
  font: 14px/1.45 var(--syndicate-sans);
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
}

/* Win over theme and plugin base styles that load after this file. */
html[data-syndicate-theme],
html[data-syndicate-theme] body {
  background: var(--syndicate-bg);
}

.syndicate-home {
  height: 100%;
  display: flex;
  flex-direction: column;
  font: 14px/1.45 var(--syndicate-sans);
  color: var(--syndicate-body);
  background: var(--syndicate-bg);
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
}

.syndicate-home :where(h1, h2, p, ul, ol, li, figure, pre) {
  margin: 0;
  padding: 0;
}

.syndicate-home :where(li) {
  list-style: none;
}

.syndicate-home :where(a) {
  color: inherit;
  text-decoration: none;
}

.syndicate-home :where(button) {
  font: inherit;
  color: inherit;
  text-transform: none;
  box-shadow: none;
  min-height: 0;
}

.syndicate-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Panels */

.syndicate-panels {
  flex: 1 1 auto;
  min-height: 0;
  padding: 18px 18px 12px;
}

.syndicate-grid {
  position: relative;
  height: 100%;
  display: flex;
  gap: 18px;
}

.syndicate-field {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  pointer-events: none;
}

.syndicate-panel {
  container: syndicate-panel / size;
  position: relative;
  z-index: 1;
  overflow: hidden;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--syndicate-frame);
  border-radius: var(--syndicate-r-panel);
  transition: flex-grow 1.15s var(--syndicate-ease);
  touch-action: none;
}

html.syndicate-js .syndicate-panel {
  border-color: transparent;
}

.syndicate-panel.syndicate-is-open {
  flex-grow: 3;
}

.syndicate-frame {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 4;
}

.syndicate-frame path {
  fill: none;
  stroke: var(--syndicate-frame);
  stroke-width: 1;
  transition: stroke 0.4s ease;
}

.syndicate-box > .syndicate-frame path {
  stroke: var(--syndicate-frame-in);
}

.syndicate-frame.syndicate-drawing path {
  stroke-dasharray: var(--syndicate-len) var(--syndicate-len);
  animation: syndicate-draw-line var(--syndicate-dur, 2.8s) cubic-bezier(0.62, 0.04, 0.24, 1) var(--syndicate-delay, 0s)
    both;
}

.syndicate-panel-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: clamp(20px, 3.4cqw, 34px) clamp(18px, 3cqw, 32px) clamp(16px, 2.6cqw, 26px);
}

.syndicate-panel-inner a,
.syndicate-panel-inner button {
  pointer-events: auto;
}

.syndicate-eyebrow {
  margin: 0 0 8px;
  font: 500 12px/1.2 var(--syndicate-mono);
  color: var(--syndicate-dim);
  white-space: nowrap;
  text-shadow: var(--syndicate-text-shadow);
}

.syndicate-eyebrow b {
  font-weight: 500;
  color: var(--syndicate-call);
}

.syndicate-eyebrow i {
  font-style: normal;
  color: var(--syndicate-code-k);
}

.syndicate-eyebrow em {
  font-style: normal;
  color: var(--syndicate-faint);
}

/* Masthead */

.syndicate-logo {
  container: syndicate-logo / inline-size;
  width: min(420px, calc(100cqw - 112px));
}

.syndicate-logo-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 8px;
}

.syndicate-logo .syndicate-eyebrow {
  flex: 0 0 auto;
  margin: 0;
  text-align: right;
  font-size: clamp(10px, 2.3cqi, 13px);
}

.syndicate-h1 {
  margin: 0;
  font: inherit;
}

.syndicate-art {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  color: var(--syndicate-fg);
  filter: var(--syndicate-art-shadow);
}

.syndicate-art.syndicate-tagline {
  flex: 0 1 auto;
  width: 72%;
  min-width: 0;
}

.syndicate-art path {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0;
}

.syndicate-js .syndicate-art path {
  fill-opacity: 0;
  stroke-width: 0.9;
  stroke-dasharray: var(--syndicate-len, 400) var(--syndicate-len, 400);
  stroke-dashoffset: var(--syndicate-len, 400);
}

.syndicate-js .syndicate-art.syndicate-is-drawn path {
  fill-opacity: 1;
  stroke-opacity: 0;
  stroke-dashoffset: 0;
  transition:
    stroke-dashoffset 3.2s cubic-bezier(0.45, 0.05, 0.25, 1) var(--syndicate-d, 0ms),
    fill-opacity 1s ease calc(var(--syndicate-d, 0ms) + 2.7s),
    stroke-opacity 1s ease calc(var(--syndicate-d, 0ms) + 2.9s);
}

.syndicate-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 9px 0 0;
  white-space: nowrap;
  font: 800 clamp(11px, 3.5cqi, 19px)/1 var(--syndicate-display);
  font-variation-settings: "wdth" 125;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 0.9px var(--syndicate-fg);
}

.syndicate-geo {
  transition: opacity 0.22s ease;
}

.syndicate-geo.syndicate-swap {
  opacity: 0;
}

@container syndicate-logo (max-width: 340px) {
  .syndicate-meta {
    color: var(--syndicate-dim);
    -webkit-text-stroke: 0;
  }
}

/* Box: frosted glass behind the title, clear at the top so the water shows */

.syndicate-box {
  container: syndicate-box / inline-size;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  width: min(100%, 470px);
  min-height: min(42cqh, 380px, 62cqw);
  margin-left: auto;
  padding: clamp(14px, 2.6cqw, 22px) clamp(16px, 3.4cqw, 26px) clamp(14px, 2.4cqw, 20px);
  border: 1px solid var(--syndicate-frame-in);
  border-radius: var(--syndicate-r-box);
}

html.syndicate-js .syndicate-box {
  border-color: transparent;
}

.syndicate-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: var(--syndicate-glass);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.35) 30%, #000 62%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.35) 30%, #000 62%);
}

.syndicate-code {
  position: absolute;
  left: -72px;
  top: 58px;
  z-index: 3;
  width: max-content;
  margin: 0;
  pointer-events: none;
  font: 11px/1.65 var(--syndicate-mono);
  white-space: pre;
  color: var(--syndicate-code);
  text-shadow: var(--syndicate-text-shadow);
  transition: opacity 0.35s ease;
}

.syndicate-code .syndicate-k {
  color: var(--syndicate-code-k);
}

.syndicate-code .syndicate-p {
  color: var(--syndicate-code-p);
}

.syndicate-code .syndicate-s {
  color: var(--syndicate-code-s);
}

.syndicate-code .syndicate-v {
  color: var(--syndicate-code-v);
}

.syndicate-panel:not(.syndicate-is-open) .syndicate-code {
  opacity: 0;
}

@container syndicate-box (max-width: 440px) {
  .syndicate-code {
    left: 14px;
    top: 14px;
    font-size: clamp(7.5px, 2.5cqi, 11px);
  }
}

/* Title block: SHOP / VISION, subtitle and menu */

.syndicate-title {
  width: fit-content;
  margin-left: auto;
  text-align: right;
  translate: var(--syndicate-tx, 0px) var(--syndicate-ty, 0px);
  transition: translate 0.95s var(--syndicate-ease);
}

.syndicate-box:has(.syndicate-stroke-shop) .syndicate-title {
  width: min(100%, 58cqi, 64cqh, 320px);
}

.syndicate-box:has(.syndicate-stroke-vision) .syndicate-title {
  width: min(100%, 74cqi, 58cqh, 380px);
}

.syndicate-word {
  margin: 0;
  font: inherit;
  line-height: 1;
}

.syndicate-word a {
  --syndicate-fill: transparent;
  display: block;
  color: var(--syndicate-fg);
  text-decoration: none;
}

.syndicate-word a:hover,
.syndicate-word a:focus-visible {
  --syndicate-fill: var(--syndicate-fg);
}

.syndicate-word a:focus-visible {
  outline: 2px solid var(--syndicate-accent);
  outline-offset: 4px;
  border-radius: 6px;
}

.syndicate-subtitle {
  display: flex;
  justify-content: flex-end;
  margin: 10px 0 0;
  font: 600 clamp(8.5px, 2.35cqi, 11px)/1.3 var(--syndicate-mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--syndicate-dim);
  white-space: nowrap;
}

.syndicate-subtitle span {
  translate: var(--syndicate-sx, 0px) 0;
  transition: translate 0.95s var(--syndicate-ease);
}

.syndicate-stroke {
  display: block;
  width: 100%;
  margin-left: auto;
  filter: var(--syndicate-art-shadow);
}

.syndicate-stroke svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.syndicate-stroke text {
  fill: transparent;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-linecap: round;
  paint-order: stroke;
  transition: fill 0.35s ease;
}

.syndicate-js .syndicate-stroke text {
  stroke-dashoffset: var(--syndicate-len, 600);
}

.syndicate-stroke.syndicate-is-drawn text {
  stroke-dashoffset: 0;
  fill: var(--syndicate-fill, transparent);
  transition:
    stroke-dashoffset 1.25s cubic-bezier(0.22, 0.72, 0.2, 1) var(--syndicate-d, 0ms),
    fill 0.35s ease;
}

.syndicate-menu {
  max-height: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
  clip-path: inset(0 -80px 0 -100vw);
  opacity: 0;
  visibility: hidden;
  transition:
    max-height 0.35s var(--syndicate-ease),
    margin 0.35s var(--syndicate-ease),
    opacity 0.2s ease,
    visibility 0s linear 0.35s;
}

.syndicate-menu-open .syndicate-menu,
.syndicate-box:focus-within .syndicate-menu {
  max-height: calc(var(--syndicate-n, 4) * 2.4em + 1em);
  margin-top: 14px;
  opacity: 1;
  visibility: visible;
  transition:
    max-height 0.55s var(--syndicate-ease),
    margin 0.55s var(--syndicate-ease),
    opacity 0.2s ease,
    visibility 0s;
}

.syndicate-menu li {
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.25s ease,
    transform 0.3s ease;
}

.syndicate-menu-open .syndicate-menu li,
.syndicate-box:focus-within .syndicate-menu li {
  --syndicate-stagger: calc(var(--syndicate-i) * 70ms + 120ms);
  opacity: 1;
  transform: none;
  transition:
    opacity 0.35s ease var(--syndicate-stagger),
    transform 0.5s var(--syndicate-ease-out) var(--syndicate-stagger);
}

.syndicate-menu li + li {
  border-top: 1px solid color-mix(in srgb, var(--syndicate-frame-in) 50%, transparent);
}

.syndicate-menu a {
  position: relative;
  display: inline-block;
  padding: 0.62em 0;
  font: 600 clamp(11px, 2.9cqi, 13px)/1 var(--syndicate-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--syndicate-body);
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.35s var(--syndicate-ease-out),
    color 0.2s ease;
}

.syndicate-menu a::before {
  content: ">";
  position: absolute;
  right: calc(100% + 0.7em);
  top: 50%;
  color: var(--syndicate-accent);
  opacity: 0;
  transform: translate(-6px, -50%);
  transition:
    opacity 0.2s ease,
    transform 0.35s var(--syndicate-ease-out);
}

.syndicate-menu a:hover,
.syndicate-menu a:focus-visible {
  transform: translateX(12px);
  color: var(--syndicate-fg);
  outline: none;
}

.syndicate-menu a:hover::before,
.syndicate-menu a:focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.syndicate-menu a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Compact panels */

@container syndicate-panel (max-width: 560px) {
  .syndicate-meta {
    display: none;
  }
}

@container syndicate-panel (max-height: 540px) {
  .syndicate-panel-inner {
    gap: 8px;
    padding: 16px 18px 14px;
  }

  .syndicate-eyebrow {
    display: none;
  }

  .syndicate-box {
    gap: 6px;
    padding: 10px 14px;
  }

  .syndicate-subtitle {
    margin-top: 4px;
  }
}

@container syndicate-panel (max-height: 280px) {
  .syndicate-meta,
  .syndicate-subtitle {
    display: none;
  }
}

/* Footer */

.syndicate-footer {
  flex: 0 0 auto;
  padding: 0 18px calc(env(safe-area-inset-bottom, 0px) + 12px);
}

.syndicate-footer-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 8px 0;
  border-top: 1px solid var(--syndicate-rule);
}

.syndicate-footer-mark {
  display: block;
  margin-right: 14px;
  color: var(--syndicate-fg);
}

.syndicate-footer-mark svg {
  display: block;
  width: auto;
  height: 12px;
  fill: currentColor;
}

.syndicate-marquee {
  min-width: 0;
  overflow: hidden;
  font: 10.5px/1.5 var(--syndicate-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--syndicate-faint);
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.syndicate-marquee-track {
  display: flex;
  width: max-content;
  animation: syndicate-marquee var(--syndicate-marquee-dur, 60s) linear infinite;
}

.syndicate-marquee:hover .syndicate-marquee-track,
.syndicate-marquee:focus-within .syndicate-marquee-track {
  animation-play-state: paused;
}

.syndicate-marquee-run {
  display: flex;
  flex: 0 0 auto;
  margin: 0;
}

.syndicate-marquee-run > span {
  padding-right: 2.4em;
}

.syndicate-marquee-run > span::after {
  content: "\2731";
  padding-left: 2.4em;
  color: var(--syndicate-rule-strong);
}

.syndicate-marquee a {
  color: var(--syndicate-body);
  text-decoration: none;
}

.syndicate-marquee a:hover {
  color: var(--syndicate-fg);
}

.syndicate-footer-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.syndicate-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  order: -1;
  margin-right: 4px;
  font: 10.5px/1 var(--syndicate-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--syndicate-body);
  white-space: nowrap;
}

.syndicate-live[hidden] {
  display: none;
}

.syndicate-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #12a150;
  animation: syndicate-live-pulse 2.4s ease-out infinite;
}

.syndicate-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  font: 600 13.5px/1 var(--syndicate-sans);
  letter-spacing: -0.01em;
  color: var(--syndicate-chip-on-ink);
  background: var(--syndicate-chip-on);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.syndicate-book:hover {
  transform: translateY(-1px);
}

.syndicate-theme-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  height: 30px;
  padding: 2px;
  font: 11px/1 var(--syndicate-mono);
  background: transparent;
  border: 1px solid var(--syndicate-rule-strong);
  border-radius: 15px;
  cursor: pointer;
}

.syndicate-theme-switch::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 2px;
  width: calc(50% - 2px);
  border-radius: 12px;
  background: var(--syndicate-chip-on);
  transition: transform 0.35s var(--syndicate-ease-out);
}

.syndicate-theme-switch:hover,
.syndicate-theme-switch:focus {
  background: transparent;
  box-shadow: none;
  color: inherit;
  transform: none;
}

html[data-syndicate-theme="night"] .syndicate-theme-switch::before {
  transform: translateX(100%);
}

.syndicate-theme-switch span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  font-size: 0.92em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--syndicate-dim);
}

.syndicate-theme-switch i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.syndicate-theme-night i {
  background: transparent;
  box-shadow: inset 0 0 0 1.2px currentColor;
}

html:not([data-syndicate-theme="night"]) .syndicate-theme-day,
html[data-syndicate-theme="night"] .syndicate-theme-night {
  color: var(--syndicate-chip-on-ink);
}

.syndicate-theme-switch:focus-visible,
.syndicate-book:focus-visible,
.syndicate-marquee a:focus-visible {
  outline: 2px solid var(--syndicate-accent);
  outline-offset: 2px;
}

/* Typing, intro and keyframes */

html .syndicate-eyebrow.syndicate-wait,
html .syndicate-code.syndicate-wait {
  clip-path: inset(0 100% 0 0);
  animation: none;
  transition: clip-path 0.12s steps(6, end);
}

html .syndicate-eyebrow.syndicate-retype {
  animation: syndicate-type 0.42s steps(26, end) 0.1s both;
}

html .syndicate-code.syndicate-retype {
  animation: syndicate-type 1.1s steps(46, end) 0.2s both;
}

html.syndicate-intro .syndicate-field {
  animation: syndicate-fade-in 1.8s ease 0.55s both;
}

html.syndicate-intro .syndicate-eyebrow {
  animation: syndicate-type 0.9s steps(28, end) 0.85s both;
}

html.syndicate-intro .syndicate-meta {
  animation: syndicate-rise 0.8s var(--syndicate-ease-out) 1.45s both;
}

html.syndicate-intro .syndicate-box {
  animation: syndicate-fade-in 1.1s ease 1.15s both;
}

html.syndicate-intro .syndicate-subtitle {
  animation: syndicate-rise 0.8s var(--syndicate-ease-out) 2.45s both;
}

html.syndicate-intro .syndicate-footer {
  animation: syndicate-rise 0.9s var(--syndicate-ease-out) 2.2s both;
}

@keyframes syndicate-draw-line {
  from {
    stroke-dashoffset: var(--syndicate-len);
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes syndicate-type {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes syndicate-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes syndicate-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes syndicate-marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes syndicate-live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(18, 161, 80, 0.45);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(18, 161, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(18, 161, 80, 0);
  }
}

/* Phones */

@media (max-width: 860px) and (orientation: portrait) {
  :root {
    --syndicate-r-panel: 16px;
    --syndicate-r-box: 14px;
  }

  .syndicate-grid {
    flex-direction: column;
    gap: 12px;
  }

  /* Shop grows by the logo tab's height so both cards match */
  .syndicate-panel:first-of-type {
    flex-basis: var(--syndicate-tab, 0px);
  }

  .syndicate-panel:not(:first-of-type) .syndicate-mast {
    display: none;
  }

  .syndicate-panel-inner {
    gap: 28px;
    padding: 14px;
  }

  .syndicate-box {
    flex: 1 1 auto;
    min-height: 0;
  }

  .syndicate-art.syndicate-tagline {
    width: 92%;
  }

  .syndicate-footer-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
  }

  .syndicate-footer-mark,
  .syndicate-book {
    display: none;
  }

  .syndicate-footer-controls {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .syndicate-live {
    order: 2;
    margin: 0;
  }

  .syndicate-marquee {
    grid-column: 1 / -1;
    order: 3;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  :root {
    --syndicate-r-panel: 14px;
    --syndicate-r-box: 12px;
  }

  .syndicate-panels {
    padding: 10px 12px 8px;
  }

  .syndicate-grid {
    gap: 10px;
  }

  .syndicate-footer {
    padding: 0 12px 8px;
  }

  .syndicate-footer-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding-top: 7px;
  }

  .syndicate-footer-mark,
  .syndicate-book {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .syndicate-panel,
  .syndicate-theme-switch::before,
  .syndicate-menu,
  .syndicate-menu li,
  .syndicate-menu a {
    transition: none;
  }

  .syndicate-stroke text {
    stroke-dashoffset: 0 !important;
    transition: fill 0.2s ease !important;
  }

  .syndicate-js .syndicate-art path {
    stroke-dashoffset: 0 !important;
    fill-opacity: 1 !important;
    stroke-opacity: 0 !important;
    transition: none !important;
  }

  .syndicate-live i,
  .syndicate-marquee-track {
    animation: none;
  }

  .syndicate-marquee-run + .syndicate-marquee-run {
    display: none;
  }

  .syndicate-marquee {
    overflow-x: auto;
  }
}

/* WordPress admin bar (logged-in users only) */
.admin-bar .syndicate-home {
  height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}
