/* Shared legal defaults stay light. Homes override everything that follows. */
:root {
  color-scheme: light;
  --bg: #f6f4ef;
  --fg: #1a1916;
  --muted: #5c5850;
  --line: #d8d3c8;
  --card: #fffdf8;
  --accent: #1f4d3a;
  --btn: #1f4d3a;
  --btn-fg: #f6f4ef;
  --sans: "Instrument Sans", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { font-size: 17px; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  letter-spacing: -0.011em;
}

/* -------------------------------------------------------------------------- */
/* paride.app — always light, App Store Today                                  */
/* -------------------------------------------------------------------------- */
/* apps-css v=apps4 — always light, never inherit dark/serif from other themes */
html.theme-apps,
body.theme-apps {
  color-scheme: only light;
  --bg: #f5f5f7;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --card: #ffffff;
  --accent: #0071e3;
  --btn: #0071e3;
  --btn-fg: #ffffff;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  font-weight: 400;
  background: #f5f5f7;
  color: #1d1d1f;
}

@media (prefers-color-scheme: dark) {
  html.theme-apps,
  body.theme-apps {
    color-scheme: only light;
    background: #f5f5f7;
    color: #1d1d1f;
  }
}

/* -------------------------------------------------------------------------- */
/* paridedilazzaro.com — always light, LinkedIn profile                        */
/* -------------------------------------------------------------------------- */
html.theme-persona,
body.theme-persona {
  color-scheme: light;
  --bg: #f3f2ef;
  --fg: #191919;
  --muted: #666666;
  --line: #e0e0e0;
  --card: #ffffff;
  --accent: #0a66c2;
  --btn: #0a66c2;
  --btn-fg: #ffffff;
  --sans: system-ui, "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --display: system-ui, "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-family: system-ui, "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: #f3f2ef;
  background-image: none;
  color: #191919;
}

@media (prefers-color-scheme: dark) {
  html.theme-persona,
  body.theme-persona {
    color-scheme: light;
    background: #f3f2ef;
    color: #191919;
  }
}

/* -------------------------------------------------------------------------- */
/* rudis.app — icon expanded. Dark is the split.                               */
/* Sampled from rudis-logo.png: carbon, bronze, gold, wood, ring metal.        */
/* -------------------------------------------------------------------------- */
html.theme-rudis,
body.theme-rudis {
  color-scheme: dark;
  --carbon: #0c0c0c;
  --carbon-mid: #181818;
  --carbon-lift: #242424;
  --carbon-panel: #1d1c21;
  --bronze: #a4704c;
  --bronze-deep: #8e6142;
  --bronze-ring: #493b2f;
  --bronze-hot: #bd8b56;
  --gold: #ffdaa5;
  --gold-mid: #d0a57b;
  --gold-hi: #fffbf5;
  --wood: #8e4d2d;
  --wood-deep: #582c16;
  --wood-lit: #9d613d;
  --metal: #635c5e;
  --bg: #0c0c0c;
  --fg: #f3e6d4;
  --muted: #b39c7e;
  --line: #493b2f;
  --card: #181818;
  --accent: #d0a57b;
  --btn: #a4704c;
  --btn-fg: #1a1008;
  --sans: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  --display: "Cinzel", "Times New Roman", serif;
  letter-spacing: 0.01em;
  background-color: #0c0c0c;
  background-image:
    radial-gradient(circle at 82% 16%, transparent 17%, rgba(164, 112, 76, 0.10) 17.5%, transparent 18.2%),
    radial-gradient(circle at 82% 16%, transparent 25%, rgba(208, 165, 123, 0.08) 25.5%, transparent 26.2%),
    linear-gradient(115deg, transparent 42%, rgba(255, 251, 245, 0.035) 50%, transparent 58%),
    repeating-linear-gradient(
      92deg,
      rgba(88, 44, 22, 0.16) 0px,
      rgba(142, 77, 45, 0.05) 3px,
      transparent 6px,
      rgba(24, 24, 24, 0.2) 10px
    ),
    radial-gradient(ellipse 68% 48% at 80% 12%, rgba(164, 112, 76, 0.28), transparent 58%),
    radial-gradient(ellipse 50% 42% at 8% 92%, rgba(88, 44, 22, 0.42), transparent 52%),
    linear-gradient(180deg, #1d1c21 0%, #0c0c0c 42%, #181818 100%);
}

body.theme-legal {
  color-scheme: light;
  --bg: #f6f4ef;
  --fg: #1a1916;
  --muted: #5c5850;
  --line: #d8d3c8;
  --card: #fffdf8;
  --accent: #1f4d3a;
  --btn: #1f4d3a;
  --btn-fg: #f6f4ef;
  --sans: "Instrument Sans", sans-serif;
  --display: "Fraunces", Georgia, serif;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}

.bar {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 0.95rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
  color: inherit;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem 1.4rem;
  font-size: 0.86rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}
nav a:hover { color: var(--fg); }

main {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding-bottom: 4rem;
}

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin: 0 0 0.6rem;
}

h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 0; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 0.75rem; }
.muted, .meta, .en { color: var(--muted); }
.en { font-size: 0.92rem; }

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

.lede { font-size: 1.12rem; max-width: 36rem; }
.lede.italic, .italic { font-family: var(--display); font-style: italic; font-weight: 400; }

a { color: var(--accent); }

.hero { padding: 4.5rem 0 3.2rem; }
.hero-rudis {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.4rem;
  align-items: center;
}

.hero-art {
  justify-self: end;
  width: min(420px, 42vw);
}

.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.4rem 0 0; }

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--fg);
  font-size: 0.92rem;
  font-weight: 500;
}
.btn.primary {
  background: var(--btn);
  color: var(--btn-fg);
  border-color: var(--btn);
}
.btn:hover { transform: translateY(-1px); }

.band { padding: 1rem 0 2rem; }
.band-head {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.6rem;
}
.band-head p { max-width: 36rem; color: var(--muted); }

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.tile, .card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.05rem 1.1rem 1rem;
  text-decoration: none;
  color: inherit;
  min-height: 10.5rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.tile:hover, .card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.tile strong, .card strong { display: block; font-size: 1.05rem; margin: 0.15rem 0 0.35rem; }
.tile span, .card span { display: block; color: var(--muted); font-size: 0.9rem; }
.tile small {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.mark {
  display: flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.soon { margin-right: 0.45rem; color: var(--muted); font-style: normal; }

.pro-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin: 3rem 0 1rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 0.7rem 0 0.7rem 2.4rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
}

.lang { display: flex; gap: 0.85rem; margin: 1rem 0 1.4rem; font-size: 0.9rem; }
.section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem 1.25rem;
  margin: 0 0 1.1rem;
}

.grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}
.card { min-height: auto; }

.foot {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 2.2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.foot a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 1rem;
}
.foot a:hover { color: var(--fg); }

@media (max-width: 820px) {
  .hero-rudis, .pro-panel, .band-head {
    grid-template-columns: 1fr;
  }
  .tiles { grid-template-columns: 1fr 1fr; }
  .hero { padding: 2.6rem 0 2rem; }
}

@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
  .bar {
    flex-wrap: wrap;
    row-gap: 0.55rem;
  }
  nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.75rem 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .tile:hover, .card:hover { transform: none; }
}

/* ========================================================================== */
/* LinkedIn — paridedilazzaro.com                                              */
/* ========================================================================== */
body.theme-persona .top {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  backdrop-filter: none;
}
body.theme-persona .bar {
  width: min(804px, calc(100% - 1.6rem));
  padding: 0.7rem 0;
}
body.theme-persona .brand,
body.theme-persona h1,
body.theme-persona h2,
body.theme-persona h3 {
  font-family: var(--sans);
  letter-spacing: -0.02em;
}
body.theme-persona .brand { font-weight: 700; color: #191919; }
body.theme-persona nav { gap: 1.25rem 1.5rem; font-size: 0.9rem; }
body.theme-persona nav a { color: #666666; }
body.theme-persona nav a:hover { color: #0a66c2; }
body.theme-persona h1 { font-size: 1.55rem; line-height: 1.25; margin: 0 0 0.2rem; }
body.theme-persona h2 { font-size: 1.25rem; margin: 0 0 0.9rem; color: #191919; }
body.theme-persona h3 { font-size: 1.02rem; margin: 0 0 0.15rem; }
body.theme-persona .foot {
  width: min(804px, calc(100% - 1.6rem));
}

body.theme-persona .li-main {
  width: min(804px, calc(100% - 1.6rem));
  margin: 1.25rem auto 0;
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

body.theme-persona .li-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px 24px;
  overflow: hidden;
}
body.theme-persona .li-card p { display: block; margin: 0 0 0.75rem; }
body.theme-persona .li-card p:last-child { margin-bottom: 0; }

body.theme-persona .li-hero { padding: 0 0 24px; }
body.theme-persona .li-cover {
  height: 200px;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(90deg, #004182 0%, #0a66c2 52%, #378fe9 100%);
}

body.theme-persona .li-intro { padding: 0 24px; }
body.theme-persona .li-avatar {
  width: 152px;
  height: 152px;
  margin: -76px 0 0.95rem;
  border-radius: 50%;
  border: 4px solid #ffffff;
  background: linear-gradient(160deg, #0a66c2, #004182);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
}
body.theme-persona .li-pronouns {
  color: #666666;
  font-size: 0.92rem;
  font-weight: 400;
}
body.theme-persona .li-headline {
  display: block;
  font-size: 1.02rem;
  max-width: 40rem;
  margin: 0 0 0.35rem;
  color: #191919;
}
body.theme-persona .li-current,
body.theme-persona .li-loc,
body.theme-persona .li-org,
body.theme-persona .li-dates,
body.theme-persona .li-place,
body.theme-persona .li-meta {
  display: block;
  color: #666666;
  font-size: 0.92rem;
  margin: 0;
  overflow-wrap: anywhere;
}

body.theme-persona .li-open {
  background: #eef3f8;
  border-color: #c9ddef;
}
body.theme-persona .li-open strong { color: #0a66c2; }

body.theme-persona .li-featured {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
body.theme-persona .li-featured a {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.05rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  min-height: 0;
}
body.theme-persona .li-featured a:hover { border-color: #0a66c2; }
body.theme-persona .li-featured h3 {
  display: block;
  margin: 0;
  color: #191919;
}
body.theme-persona .li-featured p {
  display: block;
  margin: 0;
  color: #666666;
  font-size: 0.9rem;
  line-height: 1.4;
}

body.theme-persona .li-jobs {
  list-style: none;
  padding: 0;
  margin: 0;
}
body.theme-persona .li-jobs li,
body.theme-persona .li-job {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.9rem;
  padding: 1.05rem 0;
  border-top: 1px solid #e0e0e0;
}
body.theme-persona .li-jobs li:first-child,
body.theme-persona .li-job { border-top: 0; padding-top: 0; }
body.theme-persona .li-job-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
body.theme-persona .li-job-body h3,
body.theme-persona .li-job-body p {
  display: block;
  margin: 0;
}
body.theme-persona .li-desc {
  color: #666666;
  font-size: 0.94rem;
  margin-top: 0.35rem;
}

body.theme-persona .li-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #e9e5df;
  color: #38434f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

body.theme-persona .li-skills,
body.theme-persona .li-services {
  list-style: none;
  padding: 0;
  margin: 0 0 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
body.theme-persona .li-skills li,
body.theme-persona .li-services li {
  display: block;
  padding: 0.32rem 0.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}

body.theme-persona .btn {
  border-radius: 999px;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
}
body.theme-persona .btn.primary {
  background: #0a66c2;
  color: #ffffff;
  border-color: #0a66c2;
}
body.theme-persona .btn:not(.primary) {
  background: #ffffff;
  border-color: #0a66c2;
  color: #0a66c2;
}

@media (max-width: 640px) {
  body.theme-persona .li-featured { grid-template-columns: 1fr; }
  body.theme-persona .li-avatar { width: 112px; height: 112px; margin-top: -56px; font-size: 2.2rem; }
  body.theme-persona .li-cover { height: 140px; }
}

/* ========================================================================== */
/* App Store Today — paride.app (all rules scoped; beats shared a/h1/nav)      */
/* ========================================================================== */
body.theme-apps .top {
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
}
body.theme-apps .bar {
  width: min(980px, calc(100% - 2.4rem));
  padding: 16px 0;
  gap: 16px;
}
body.theme-apps .brand {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  text-decoration: none;
}
body.theme-apps nav {
  font-size: 0.8rem;
  gap: 16px;
  font-weight: 400;
}
body.theme-apps nav a {
  color: #6e6e73;
  text-decoration: none;
  padding: 8px 0;
}
body.theme-apps nav a:hover { color: #0071e3; }
body.theme-apps main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-bottom: 0;
}
body.theme-apps .foot {
  width: min(980px, calc(100% - 2.4rem));
  font-size: 0.75rem;
  color: #6e6e73;
  border-top-color: rgba(29, 29, 31, 0.08);
}
body.theme-apps .foot a { color: #6e6e73; text-decoration: none; }
body.theme-apps h1,
body.theme-apps h2,
body.theme-apps h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: #1d1d1f;
}
body.theme-apps a { color: #0071e3; text-decoration: none; }
body.theme-apps .btn {
  border: 0;
  padding: 0.7rem 1.35rem;
  font-size: 1.05rem;
  font-weight: 400;
  background: #0071e3;
  color: #ffffff;
  border-radius: 980px;
  text-decoration: none;
}
body.theme-apps .btn.as-gray {
  background: #e8e8ed;
  color: #1d1d1f;
}
body.theme-apps .btn:hover {
  transform: none;
  opacity: 0.86;
}

body.theme-apps .as-wrap {
  width: min(980px, calc(100% - 2.4rem));
  margin: 0 auto;
}

body.theme-apps .as-hero {
  background: transparent;
  text-align: center;
  padding: 4.5rem 0 3rem;
}
body.theme-apps .as-hero h1 {
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  letter-spacing: -0.055em;
  line-height: 1.02;
  margin: 0 0 0.85rem;
  color: #1d1d1f;
}
body.theme-apps .as-eyebrow {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6e6e73;
}
body.theme-apps .as-hero .lede {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.35rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.25;
  letter-spacing: -0.016em;
  max-width: 34rem;
  color: #6e6e73;
}
body.theme-apps .as-hero .lede.en { font-size: 1rem; }
body.theme-apps .as-hero .actions {
  justify-content: center;
  margin-top: 1.6rem;
  gap: 12px;
}

body.theme-apps .as-subnav {
  position: sticky;
  top: 56px;
  z-index: 15;
  background: rgba(245, 245, 247, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
}
body.theme-apps .as-subnav .as-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px 24px;
  padding: 14px 0;
}
body.theme-apps .as-subnav a {
  color: #1d1d1f;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 0;
  letter-spacing: -0.01em;
}
body.theme-apps .as-subnav a:hover { color: #0071e3; }

body.theme-apps .as-featured { padding: 3rem 0 1.2rem; }
body.theme-apps .as-collection { padding: 1.4rem 0 2.4rem; }
body.theme-apps .as-col-head { margin-bottom: 1.1rem; }
body.theme-apps .as-col-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.15rem;
  color: #1d1d1f;
}
body.theme-apps .as-col-num {
  display: block;
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #6e6e73;
  font-variant-numeric: tabular-nums;
}
body.theme-apps .as-col-head .en { display: block; margin: 0; font-size: 0.95rem; }

body.theme-apps .as-stories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
body.theme-apps .as-story {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  text-decoration: none;
  color: #1d1d1f;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  isolation: isolate;
  min-height: 0;
}
body.theme-apps a.as-story { color: #1d1d1f; text-decoration: none; }
body.theme-apps .as-story:hover { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08); }
body.theme-apps .as-story-lead {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 28px;
  min-height: 280px;
}
body.theme-apps .as-story-art {
  display: block;
  flex: 0 0 auto;
}
body.theme-apps .as-story-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
body.theme-apps .as-story-copy h3,
body.theme-apps .as-story-copy p {
  display: block;
  margin: 0;
}
body.theme-apps .as-story-eye {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bf4800;
}
body.theme-apps .as-story-copy h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.03em;
  color: #1d1d1f;
}
body.theme-apps .as-story-lead .as-story-copy h3 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}
body.theme-apps .as-story-line {
  display: block;
  color: #6e6e73;
  font-size: 1.05rem;
  line-height: 1.35;
}
body.theme-apps .as-more {
  display: block;
  margin-top: 4px;
  color: #0071e3;
  font-size: 1.05rem;
}

body.theme-apps .as-icon {
  width: 80px;
  height: 80px;
  border-radius: 22.37%;
  object-fit: cover;
  display: block;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.08);
  background: #e8e8ed;
  flex: 0 0 auto;
}
body.theme-apps .as-icon-lg {
  width: 88px;
  height: 88px;
}
body.theme-apps .as-story-lead .as-icon-lg {
  width: 148px;
  height: 148px;
}
body.theme-apps .as-icon-fallback {
  display: grid;
  place-items: center;
  font-weight: 600;
  color: #1d1d1f;
  font-size: 1.35rem;
}

body.theme-apps .as-chart {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
body.theme-apps .as-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 17px 18px;
  text-decoration: none;
  color: #1d1d1f;
  border-top: 1px solid #e8e8ed;
}
body.theme-apps a.as-row { color: #1d1d1f; text-decoration: none; }
body.theme-apps .as-row:first-child { border-top: 0; }
body.theme-apps .as-row:hover { background: #f5f5f7; }
body.theme-apps .as-row-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.theme-apps .as-row-copy h3,
body.theme-apps .as-row-copy p {
  display: block;
  margin: 0;
}
body.theme-apps .as-row-copy h3 {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: #1d1d1f;
}
body.theme-apps .as-row-copy p {
  color: #6e6e73;
  font-size: 0.82rem;
  line-height: 1.35;
}
body.theme-apps .as-cta {
  background: #0071e3;
  color: #ffffff;
  border-radius: 980px;
  padding: 0.4rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 4.6rem;
  text-align: center;
}
body.theme-apps .as-cta.soon {
  background: #e8e8ed;
  color: #6e6e73;
  font-weight: 500;
}

body.theme-apps .as-soon {
  padding: 2.6rem 0 2.8rem;
  margin-top: 0.2rem;
  background: #eeeef0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
body.theme-apps .as-soon-shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
body.theme-apps .as-soon-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: #ffffff;
  border-radius: 20px;
  color: #1d1d1f;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
body.theme-apps .as-soon-card .as-icon {
  width: 56px;
  height: 56px;
  background: #e8e8ed;
  box-shadow: none;
  color: #6e6e73;
  font-size: 1.1rem;
}
body.theme-apps .as-soon-copy h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
body.theme-apps .as-soon-copy p {
  margin: 0;
  color: #6e6e73;
  font-size: 0.88rem;
  line-height: 1.4;
}
body.theme-apps .as-soon-label {
  margin-top: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #86868b;
}
body.theme-apps .as-soon-quiet {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: transparent;
  box-shadow: none;
  opacity: 0.78;
}
body.theme-apps .as-soon-quiet .as-icon {
  width: 44px;
  height: 44px;
  font-size: 0.95rem;
}
body.theme-apps .as-soon-quiet h3 {
  font-size: 1rem;
  font-weight: 500;
}
body.theme-apps .as-soon-quiet p {
  font-size: 0.8rem;
}

body.theme-apps .as-directory {
  margin-top: 1.2rem;
  padding: 2rem 0 1rem;
  border-top: 1px solid rgba(29, 29, 31, 0.1);
}
body.theme-apps .as-dir-title {
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  color: #1d1d1f;
}
body.theme-apps .as-directory ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
body.theme-apps .as-directory a {
  color: #6e6e73;
  text-decoration: none;
  font-size: 0.75rem;
}
body.theme-apps .as-directory a:hover { color: #0071e3; }

@media (max-width: 820px) {
  body.theme-apps .as-story-lead {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding: 24px;
    gap: 16px;
  }
  body.theme-apps .as-stories { grid-template-columns: 1fr; }
  body.theme-apps .as-hero { padding: 3.4rem 0 2.4rem; }
  body.theme-apps .as-story-lead .as-icon-lg {
    width: 112px;
    height: 112px;
  }
  body.theme-apps .as-soon-shelf { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body.theme-apps .as-row {
    grid-template-columns: 64px 1fr auto;
    gap: 12px;
    padding: 16px;
  }
  body.theme-apps .as-icon { width: 64px; height: 64px; }
  body.theme-apps .as-subnav { top: 52px; }
  body.theme-apps .as-soon-shelf { grid-template-columns: 1fr; }
  body.theme-apps .as-soon-quiet { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  body.theme-apps .as-story { transition: none; }
}

/* ========================================================================== */
/* RUDIS — icon as the site                                                    */
/* ========================================================================== */
body.theme-rudis .top {
  background: rgba(12, 12, 12, 0.88);
  border-bottom: 1px solid #493b2f;
}
body.theme-rudis .brand-rudis {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 0.86rem;
  color: #ffdaa5;
}
body.theme-rudis .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 22.37%;
  display: block;
  box-shadow: 0 0 0 1px #493b2f, 0 6px 16px rgba(0, 0, 0, 0.45);
}
body.theme-rudis nav {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  gap: 1.15rem 1.4rem;
}
body.theme-rudis nav a { color: #b39c7e; }
body.theme-rudis nav a:hover { color: #ffdaa5; }
body.theme-rudis h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.35rem, 6vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #ffdaa5;
}
body.theme-rudis h2,
body.theme-rudis h3 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #d0a57b;
}
body.theme-rudis h2 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); }
body.theme-rudis .kicker {
  color: #bd8b56;
  letter-spacing: 0.22em;
}
body.theme-rudis a { color: #d0a57b; }
body.theme-rudis .lede { color: #f3e6d4; max-width: 34rem; }
body.theme-rudis .en { color: #b39c7e; }

body.theme-rudis .hero-rudis {
  position: relative;
  min-height: auto;
  padding: 3.6rem 0 2.8rem;
}
body.theme-rudis .hero-copy { position: relative; z-index: 1; }
body.theme-rudis .hero-art {
  position: relative;
  width: min(440px, 46vw);
  opacity: 1;
  justify-self: end;
}
body.theme-rudis .hero-disc {
  display: block;
  overflow: hidden;
  border-radius: 50%;
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  z-index: 1;
}
body.theme-rudis .hero-art img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
body.theme-rudis .hero-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  pointer-events: none;
  box-shadow:
    0 0 0 1px #635c5e,
    0 0 0 7px #0c0c0c,
    0 0 0 8px #a4704c,
    0 0 0 14px #0c0c0c,
    0 0 0 15px #493b2f,
    0 28px 50px rgba(0, 0, 0, 0.62);
}

body.theme-rudis .motto {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 1.15rem 0 1.35rem;
  font-family: var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: #ffdaa5;
}
body.theme-rudis .motto li {
  display: flex;
  align-items: center;
}
body.theme-rudis .motto li:not(:last-child)::after {
  content: "";
  width: 2.4rem;
  height: 1px;
  margin: 0 0.8rem;
  background: linear-gradient(90deg, #8e6142, #ffdaa5);
}

body.theme-rudis .btn {
  border-radius: 22.37%;
  border-radius: 14px;
  letter-spacing: 0.06em;
  padding: 0.7rem 1.15rem;
  border-color: #8e6142;
  box-shadow:
    inset 0 1px 0 rgba(255, 251, 245, 0.22),
    0 0 0 1px #493b2f;
}
body.theme-rudis .btn.primary {
  background: linear-gradient(180deg, #ffdaa5 0%, #d0a57b 38%, #a4704c 72%, #8e6142 100%);
  color: #1a1008;
  border-color: #8e6142;
}
body.theme-rudis .btn.primary:hover { filter: brightness(1.06); }
body.theme-rudis .btn:not(.primary) {
  color: #ffdaa5;
  background: rgba(88, 44, 22, 0.35);
}

body.theme-rudis .path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 3.2rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 50%, transparent 58%, rgba(73, 59, 47, 0.35) 59%, transparent 60%),
    radial-gradient(circle at 50% 50%, transparent 78%, rgba(164, 112, 76, 0.18) 79%, transparent 80%),
    linear-gradient(180deg, #1d1c21, #181818);
  box-shadow:
    0 0 0 1px #493b2f,
    0 0 0 7px #0c0c0c,
    0 0 0 8px #8e6142,
    0 0 0 14px #0c0c0c,
    inset 0 1px 0 rgba(255, 218, 165, 0.12);
  overflow: hidden;
  position: relative;
}
body.theme-rudis .path::before,
body.theme-rudis .path::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fffbf5, #ffdaa5 42%, #8e6142);
  box-shadow: 0 0 10px rgba(255, 218, 165, 0.45);
  z-index: 1;
}
body.theme-rudis .path::before { top: 14px; left: 16px; }
body.theme-rudis .path::after { top: 14px; right: 16px; }
body.theme-rudis .path article {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.7rem 1.4rem 1.5rem;
  border-left: 1px solid #493b2f;
}
body.theme-rudis .path article:first-child { border-left: 0; }
body.theme-rudis .path h2 {
  margin: 0.55rem 0 0.45rem;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffdaa5;
}
body.theme-rudis .path p { margin: 0 0 0.35rem; }
body.theme-rudis .path .node {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fffbf5, #d0a57b 45%, #582c16);
  box-shadow: 0 0 12px rgba(189, 139, 86, 0.5);
}

body.theme-rudis .band-head h2 {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffdaa5;
}
body.theme-rudis .tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 22.37%;
  background:
    linear-gradient(180deg, rgba(255, 218, 165, 0.08), transparent 30%),
    #181818;
  border: 1px solid #493b2f;
  box-shadow:
    inset 0 1px 0 rgba(255, 251, 245, 0.1),
    0 0 0 1px #242424;
  min-height: 11.5rem;
}
body.theme-rudis .tile h3,
body.theme-rudis .tile p {
  display: block;
  margin: 0;
}
body.theme-rudis .tile h3 {
  color: #ffdaa5;
  font-size: 1.05rem;
}
body.theme-rudis .tile p { color: #b39c7e; font-size: 0.9rem; }
body.theme-rudis .tile-cta {
  color: #bd8b56;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: auto;
}
body.theme-rudis .tile:hover {
  border-color: #d0a57b;
  transform: translateY(-2px);
}
body.theme-rudis .tile small { color: #bd8b56; }
body.theme-rudis .tile-icon {
  width: 56px;
  height: 56px;
  border-radius: 22.37%;
  object-fit: cover;
  display: block;
  margin-bottom: 0.2rem;
  box-shadow: 0 0 0 1px #493b2f, 0 8px 16px rgba(0, 0, 0, 0.35);
}
body.theme-rudis .mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  border-color: #8e6142;
  color: #ffdaa5;
  background: radial-gradient(circle at 30% 28%, #3a3228, #181818);
}

body.theme-rudis .pro-panel {
  border-radius: 28px;
  border: 1px solid #8e6142;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(164, 112, 76, 0.18), transparent 46%),
    #181818;
  box-shadow:
    0 0 0 1px #493b2f,
    0 0 0 8px #0c0c0c,
    0 0 0 9px #8e6142,
    0 24px 50px rgba(0, 0, 0, 0.35);
}
body.theme-rudis .steps li { border-top-color: #493b2f; }
body.theme-rudis .steps li::before { color: #d0a57b; }

body.theme-rudis .foot {
  border-top-color: #493b2f;
  letter-spacing: 0.04em;
}
body.theme-rudis .foot a:hover { color: #ffdaa5; }

@media (max-width: 820px) {
  body.theme-rudis .hero-rudis {
    justify-items: center;
    text-align: center;
    min-height: auto;
    gap: 1.8rem;
  }
  body.theme-rudis .hero-art {
    width: min(260px, 68vw);
    justify-self: center;
    order: -1;
  }
  body.theme-rudis .hero-copy { text-align: center; }
  body.theme-rudis .lede { margin-left: auto; margin-right: auto; }
  body.theme-rudis .actions { justify-content: center; }
  body.theme-rudis .motto { justify-content: center; }
  body.theme-rudis .path { grid-template-columns: 1fr; }
  body.theme-rudis .path article {
    border-left: 0;
    border-top: 1px solid #493b2f;
  }
  body.theme-rudis .path article:first-child { border-top: 0; }
  body.theme-rudis .pro-panel {
    box-shadow: 0 0 0 1px #493b2f, 0 0 0 6px #0c0c0c, 0 0 0 7px #8e6142;
  }
}
