.static-readable-site {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 2rem 0 4rem;
  color: var(--text);
}

.static-readable-header,
.static-readable-section,
.static-readable-page {
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.static-readable-header h1,
.static-readable-section h2,
.static-readable-page h2 {
  margin: 0 0 1rem;
  color: var(--text);
}

.static-readable-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 1.5rem;
}

.static-readable-nav a,
.static-readable-site a {
  color: var(--signal-strong);
  text-underline-offset: 0.2em;
}

.static-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
}

.static-card,
.static-content-group {
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.static-content-group .static-content-group {
  padding: 0;
  border: 0;
  background: transparent;
}

.static-kicker {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.static-readable-site h3,
.static-readable-site h4 {
  margin: 0 0 0.65rem;
}

.static-readable-site p,
.static-readable-site li {
  max-width: 72ch;
  line-height: 1.65;
}

.static-readable-site ul {
  padding-left: 1.25rem;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 4.25rem;
}

main {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0 0.35rem;
}

.site-logo {
  display: inline-flex;
  width: clamp(2.35rem, 5vw, 3.4rem);
  height: clamp(2.35rem, 5vw, 3.4rem);
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--signal-strong);
}

.site-logo img {
  display: block;
  width: 100%;
  height: 100%;
  filter: var(--logo-filter);
  object-fit: contain;
}

.site-menu-toggle {
  display: none;
}

.site-tabs {
  position: relative;
  display: flex;
  max-width: 100%;
  align-items: center;
  gap: clamp(1.1rem, 2.5vw, 1.8rem);
  padding: 0;
}

.site-tab-indicator {
  display: none;
}

.site-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 2.2rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35rem;
  white-space: nowrap;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-tab:hover,
.site-tab:focus-visible {
  color: var(--text);
  text-decoration-line: underline;
  outline: none;
}

.site-tab.active {
  color: var(--signal-strong);
  text-decoration-line: underline;
}

.resources-menu {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.resources-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 760;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35rem;
}

.resources-trigger:hover,
.resources-trigger:focus-visible,
.resources-menu.open .resources-trigger {
  color: var(--text);
  text-decoration-line: underline;
  outline: none;
}

.resources-trigger span {
  font: inherit;
}

.resources-trigger .ui-icon {
  width: 0.82rem;
  height: 0.82rem;
  margin-left: 0.18rem;
  transition: transform 180ms ease;
}

.resources-menu.open .resources-trigger .ui-icon {
  transform: rotate(180deg);
}

.resources-menu-list {
  position: absolute;
  top: calc(100% + 0.42rem);
  right: 0;
  display: grid;
  min-width: 15.5rem;
  gap: 0.18rem;
  padding: 0.42rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--popover-surface);
  box-shadow: var(--popover-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.25rem);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  backdrop-filter: blur(18px);
}

.resources-menu.open .resources-menu-list {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.resources-menu-item {
  display: flex;
  min-height: 2.55rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0 0.76rem;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.resources-menu-item:hover,
.resources-menu-item:focus-visible,
.resources-menu-item.active {
  background: var(--signal-soft);
  color: var(--text);
  outline: none;
}

.resources-menu-item .ui-icon {
  width: 0.96rem;
  height: 0.96rem;
  flex: 0 0 auto;
}

.mobile-menu-section {
  display: none;
}

.mobile-footer-links {
  display: none;
}

.page-hidden {
  display: none;
}

.tab-page.active {
  animation: page-enter 340ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(0.7rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 220ms;
}

.hero-section {
  padding: clamp(3rem, 9vw, 7.5rem) 0 clamp(2.4rem, 6vw, 4.75rem);
}

.hero-copy {
  position: relative;
  padding: 0;
  overflow: visible;
}

.hero-copy::after {
  display: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 14ch;
  margin-bottom: clamp(0.75rem, 2vw, 1.35rem);
  font-size: clamp(3.8rem, 10vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: -0.078em;
}

.identity-statement {
  --wheel-height: clamp(24rem, 32vw, 30rem);
  --wheel-active-size: clamp(3rem, 5.8vw, 5.65rem);
  --wheel-marker-height: clamp(5.1rem, 9.5vw, 8.7rem);
  --wheel-edge-buffer: clamp(0.45rem, 1.1vw, 0.9rem);
  --wheel-right-buffer: clamp(0.85rem, 2.6vw, 1.9rem);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: clamp(0.75rem, 2vw, 1.4rem);
  margin-bottom: clamp(1.4rem, 4vw, 2.65rem);
}

.identity-statement>span {
  color: var(--muted);
  font-size: clamp(3.3rem, 8vw, 7rem);
  font-weight: 520;
  letter-spacing: -0.07em;
  line-height: 0.95;
  white-space: nowrap;
  padding-top: calc((var(--wheel-height) - 1em) / 2);
}

.aspect-wheel-shell {
  position: relative;
  width: min(100%, 58rem);
  height: var(--wheel-height);
  overflow: hidden;
  perspective: 900px;
}

.wheel-center-marker {
  position: absolute;
  top: 50%;
  right: var(--wheel-right-buffer);
  left: var(--wheel-edge-buffer);
  z-index: 0;
  height: var(--wheel-marker-height);
  border: 1px solid var(--wheel-marker-border);
  border-radius: 999px;
  background: var(--wheel-marker-surface);
  box-shadow: var(--wheel-marker-shadow);
  transform: translateY(-50%);
}

.aspect-wheel {
  position: relative;
  z-index: 2;
  height: 100%;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(to bottom,
      transparent 0%,
      #000 8%,
      #000 92%,
      transparent 100%);
  mask-image: linear-gradient(to bottom,
      transparent 0%,
      #000 8%,
      #000 92%,
      transparent 100%);
  outline: none;
}

.aspect-wheel:active {
  cursor: grabbing;
}

.aspect-option {
  --wheel-x: 0rem;
  --wheel-y: 0px;
  --wheel-z: 0px;
  --wheel-rotate: 0deg;
  --wheel-scale: 1;
  --wheel-opacity: 0;
  --wheel-blur: 0px;
  position: absolute;
  top: 50%;
  right: var(--wheel-right-buffer);
  left: var(--wheel-edge-buffer);
  display: flex;
  box-sizing: border-box;
  width: auto;
  max-width: none;
  height: var(--wheel-marker-height);
  align-items: center;
  justify-content: flex-start;
  padding: 0.12em clamp(1.05rem, 2.6vw, 1.8rem) 0.2em;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--wheel-label);
  cursor: pointer;
  font-size: var(--wheel-active-size);
  font-weight: 560;
  letter-spacing: -0.068em;
  line-height: 1;
  opacity: var(--wheel-opacity);
  text-align: left;
  transform-origin: left center;
  transform:
    translate3d(var(--wheel-x), calc(-50% + var(--wheel-y)), var(--wheel-z)) rotateX(var(--wheel-rotate)) scale(var(--wheel-scale));
  transition:
    filter 220ms ease,
    opacity 220ms ease,
    color 220ms ease;
  white-space: nowrap;
  will-change: transform, opacity, filter;
  filter: blur(var(--wheel-blur));
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}

.aspect-option-label {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  padding-bottom: 0.08em;
  transform: translateY(0.02em);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.aspect-option:hover {
  color: var(--signal-strong);
}

.aspect-option.active {
  color: var(--wheel-active);
  opacity: 1;
  text-shadow: var(--wheel-active-shadow);
}

.aspect-option[data-long-option="true"] {
  font-size: clamp(2.65rem, 5vw, 4.9rem);
  line-height: 1.02;
}

.aspect-option[data-long-option="true"] .aspect-option-label {
  white-space: normal;
  text-wrap: balance;
  transform: none;
}

.aspect-intro {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  max-width: 58rem;
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(1.3rem, 2.7vw, 2.35rem);
  padding-bottom: 0.08em;
  line-height: 1.24;
  letter-spacing: -0.038em;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.aspect-intro p {
  margin: 0;
}

.aspect-intro.is-changing {
  opacity: 0;
  transform: translateY(0.35rem);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
}

.home-action-button {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1rem;
  border: 1px solid var(--soft-control-border);
  border-radius: 999px;
  background: var(--soft-control-surface);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 780;
  box-shadow: var(--soft-control-shadow);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.home-action-button.primary {
  border-color: var(--primary-action-border);
  background: var(--primary-action-surface);
  color: var(--primary-action-text);
}

.home-action-button:hover,
.home-action-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.home-action-button .ui-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 180ms ease;
}

.home-action-button:hover .ui-icon,
.home-action-button:focus-visible .ui-icon {
  transform: translateX(0.12rem);
}

.post-growth-section,
.agency-section,
.abundance-section {
  padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(4rem, 8vw, 7rem);
}

.story-section {
  min-height: calc(100vh - 10rem);
  padding: clamp(2.75rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
}

.story-layout {
  display: grid;
  max-width: 48rem;
  gap: clamp(1.7rem, 4vw, 3rem);
  margin: 0 auto;
}

.story-hero {
  max-width: 44rem;
  padding-bottom: clamp(0.8rem, 2vw, 1.3rem);
}

.story-hero h1 {
  max-width: 10.5ch;
  margin-bottom: 0;
  font-size: clamp(3.2rem, 8vw, 6.3rem);
  line-height: 0.92;
  letter-spacing: -0.068em;
}

.story-hero p:not(.page-kicker) {
  max-width: 40rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  line-height: 1.48;
  letter-spacing: -0.012em;
}

.story-fragments {
  display: grid;
  gap: clamp(0.9rem, 2vw, 1.35rem);
}

.story-card {
  position: relative;
  padding: clamp(1.05rem, 2.7vw, 1.7rem) clamp(0.95rem, 2.7vw, 1.55rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel-surface);
  box-shadow: var(--panel-shadow);
}

.story-card-copy {
  min-width: 0;
}

.story-card p:not(.page-kicker),
.story-coda p:not(.page-kicker) {
  max-width: 40rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.18rem);
  line-height: 1.7;
  letter-spacing: 0;
}

.story-card p {
  margin-bottom: 0;
}

.story-card p + p {
  margin-top: clamp(0.62rem, 1.8vw, 0.9rem);
}

.story-flow-break {
  display: block;
  height: clamp(0.34rem, 1vw, 0.52rem);
}

.story-card p:first-child {
  color: var(--text);
}

.story-dropcap {
  float: left;
  display: inline-flex;
  width: 1.08em;
  height: 1.08em;
  align-items: center;
  justify-content: center;
  margin: 0.08em 0.18em 0.02em 0;
  border: 1px solid color-mix(in srgb, var(--signal-strong) 24%, transparent);
  border-radius: 0.16em;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--signal) 14%, transparent) 25%, transparent 25%) 0 0 / 0.28em 0.28em,
    linear-gradient(315deg, color-mix(in srgb, var(--signal) 10%, transparent) 25%, transparent 25%) 0 0 / 0.28em 0.28em,
    color-mix(in srgb, var(--surface-strong) 82%, var(--bg-soft));
  box-shadow:
    inset 0 0 0 0.045em color-mix(in srgb, var(--surface-strong) 74%, transparent),
    0 0.12em 0.28em rgba(72, 49, 35, 0.1);
  color: var(--signal-strong);
  font-family: var(--font-dropcap);
  font-size: clamp(3.6rem, 8vw, 5.25rem);
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
}

.story-card p:last-child,
.story-coda p:last-child {
  margin-bottom: 0;
}

.story-coda {
  position: relative;
  display: grid;
  gap: clamp(0.62rem, 1.8vw, 0.9rem);
  margin-top: clamp(0.3rem, 1vw, 0.7rem);
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--inverse-border);
  border-radius: var(--radius-md);
  background: var(--inverse-surface);
  color: var(--inverse-text);
  box-shadow: var(--inverse-shadow);
  backdrop-filter: blur(16px);
}

.story-coda p:not(.page-kicker) {
  color: var(--inverse-muted);
  margin-bottom: 0;
}

.story-coda .story-dropcap {
  border-color: color-mix(in srgb, var(--inverse-kicker) 34%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--inverse-kicker) 20%, transparent) 25%, transparent 25%) 0 0 / 0.28em 0.28em,
    linear-gradient(315deg, color-mix(in srgb, var(--inverse-kicker) 13%, transparent) 25%, transparent 25%) 0 0 / 0.28em 0.28em,
    color-mix(in srgb, var(--inverse-text) 10%, transparent);
  box-shadow:
    inset 0 0 0 0.045em color-mix(in srgb, var(--inverse-text) 12%, transparent),
    0 0.12em 0.3em rgba(0, 0, 0, 0.18);
  color: var(--inverse-kicker);
}

.story-coda-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  margin-top: clamp(0.35rem, 1.3vw, 0.75rem);
  padding: 0.74rem 0.95rem;
  border: 1px solid color-mix(in srgb, var(--inverse-text) 24%, transparent);
  border-radius: 999px;
  color: var(--inverse-text);
  font-size: 0.9rem;
  font-weight: 760;
  letter-spacing: 0;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.story-coda-link:hover,
.story-coda-link:focus-visible {
  border-color: color-mix(in srgb, var(--inverse-text) 44%, transparent);
  background: color-mix(in srgb, var(--inverse-text) 9%, transparent);
  transform: translateY(-1px);
}

.story-coda-link .ui-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 180ms ease;
}

.story-coda-link:hover .ui-icon,
.story-coda-link:focus-visible .ui-icon {
  transform: translateX(0.12rem);
}

.download-cv-section {
  display: none;
}

.manifesto-layout,
.agency-layout,
.abundance-layout {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.2rem);
  max-width: 64rem;
}

.page-kicker {
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.manifesto-hero,
.agency-hero,
.abundance-hero {
  max-width: 60rem;
}

.manifesto-hero h1,
.agency-hero h1,
.abundance-hero h1 {
  max-width: 13ch;
  margin-bottom: 1.2rem;
  font-size: clamp(3.45rem, 8.8vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: -0.078em;
}

.manifesto-hero p,
.manifesto-section p,
.manifesto-disclaimer p,
.agency-hero .page-kicker,
.agency-hero p:not(.page-kicker),
.agency-foundation p,
.agency-resolution p,
.agency-audit p,
.agency-designing p,
.agency-coda p,
.abundance-hero .page-kicker,
.abundance-hero p:not(.page-kicker),
.abundance-readable-copy p,
.abundance-boundaries p {
  max-width: 48rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.45;
  letter-spacing: -0.012em;
}

.manifesto-hero p,
.agency-hero .page-kicker,
.abundance-hero .page-kicker,
.agency-hero p:not(.page-kicker),
.abundance-hero p:not(.page-kicker) {
  font-size: clamp(1.22rem, 2.4vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.028em;
}

.manifesto-section,
.manifesto-disclaimer,
.agency-foundation article,
.agency-resolution,
.agency-audit,
.agency-designing,
.agency-coda,
.abundance-claim>div,
.abundance-claim blockquote,
.abundance-boundaries {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel-surface);
  box-shadow: var(--panel-shadow);
  backdrop-filter: blur(16px);
}

.manifesto-section,
.manifesto-disclaimer,
.agency-foundation article,
.agency-resolution,
.agency-audit,
.agency-designing,
.agency-coda,
.abundance-claim>div,
.abundance-claim blockquote,
.abundance-boundaries {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.manifesto-section h2,
.manifesto-disclaimer h2,
.agency-foundation h2,
.agency-section-heading h2,
.agency-resolution h2,
.agency-audit h2,
.agency-coda h2,
.abundance-claim h2,
.abundance-section-heading h2,
.abundance-boundaries h2 {
  max-width: 16ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.manifesto-principles,
.manifesto-applications,
.agency-quality-grid,
.abundance-dimensions,
.abundance-world ul,
.abundance-propositions ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.manifesto-principles article,
.manifesto-applications article,
.agency-quality,
.agency-example,
.abundance-dimension,
.abundance-world li {
  position: relative;
  padding: 1rem;
  border: 1px solid var(--item-border);
  border-radius: var(--radius-sm);
  background: var(--item-surface);
}

.manifesto-principles article,
.agency-quality,
.abundance-dimension {
  display: grid;
  min-height: 14rem;
  align-content: start;
  padding: clamp(1rem, 2.4vw, 1.35rem);
  overflow: hidden;
}

.principle-number,
.agency-quality-number,
.abundance-dimension-index {
  position: absolute;
  right: clamp(0.65rem, 2vw, 1rem);
  bottom: 0.02em;
  z-index: 0;
  color: color-mix(in srgb, var(--signal-strong) 11%, transparent);
  font-size: clamp(6.5rem, 13vw, 10.5rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.12em;
  pointer-events: none;
}

.manifesto-principles h3,
.manifesto-principles p,
.agency-quality h3,
.agency-quality-question,
.agency-quality-copy,
.agency-contrast,
.abundance-dimension h3,
.abundance-dimension p {
  position: relative;
  z-index: 1;
}

.manifesto-principles h3,
.manifesto-applications h3,
.agency-quality h3,
.agency-example h3,
.abundance-dimension h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.manifesto-principles p,
.manifesto-applications p,
.agency-quality-copy p,
.agency-example p,
.abundance-dimension p,
.abundance-world li,
.abundance-propositions li {
  margin-bottom: 0;
  font-size: 0.96rem;
  line-height: 1.42;
}

.manifesto-rules ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  line-height: 1.38;
}

.manifesto-rules li::marker {
  color: var(--signal-strong);
}

.manifesto-disclaimer,
.agency-definition,
.agency-coda,
.abundance-boundaries {
  border-color: var(--inverse-border);
  background: var(--inverse-surface);
  color: var(--inverse-text);
  box-shadow: var(--inverse-shadow);
}

.manifesto-disclaimer .page-kicker,
.manifesto-disclaimer h2,
.manifesto-disclaimer p,
.agency-definition p,
.agency-coda .page-kicker,
.agency-coda h2,
.agency-coda p,
.abundance-boundaries .page-kicker,
.abundance-boundaries h2,
.abundance-boundaries p {
  color: var(--inverse-text);
}

.manifesto-disclaimer .page-kicker,
.agency-coda .page-kicker,
.abundance-boundaries .page-kicker {
  color: var(--inverse-kicker);
}

.manifesto-disclaimer p,
.agency-definition p,
.agency-coda p,
.abundance-boundaries p {
  color: var(--inverse-muted);
}

.agency-hero {
  display: grid;
  gap: 0.95rem;
}

.agency-definition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.82fr);
  gap: 1rem;
  align-items: stretch;
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.agency-definition>p {
  display: grid;
  align-content: center;
  max-width: 40rem;
  margin-bottom: 0;
  color: var(--inverse-text);
  font-size: clamp(1.22rem, 2.4vw, 1.75rem);
  font-weight: 760;
  line-height: 1.3;
  letter-spacing: -0.028em;
}

.agency-question-shift {
  display: grid;
  gap: 0.64rem;
}

.agency-question-shift div {
  padding: 0.88rem;
  border: 1px solid color-mix(in srgb, var(--inverse-text) 16%, transparent);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--inverse-text) 7%, transparent);
}

.agency-question-shift span,
.agency-contrast span {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--inverse-kicker);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agency-question-shift p {
  margin-bottom: 0;
  color: var(--inverse-text);
  font-size: 1.08rem;
  font-weight: 760;
  line-height: 1.26;
}

.agency-foundation {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 1rem;
  align-items: start;
}

.agency-foundation p {
  margin-bottom: 0;
}

.agency-foundation p + p {
  margin-top: 0.78rem;
}

.agency-factor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.agency-factor-list li {
  padding: 0.38rem 0.58rem;
  border: 1px solid var(--item-border);
  border-radius: 999px;
  background: var(--item-surface);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 720;
  line-height: 1.1;
}

.agency-qualities-section,
.agency-practice {
  display: grid;
  gap: 1rem;
}

.agency-section-heading {
  max-width: 46rem;
}

.agency-section-heading h2 {
  margin-bottom: 0;
}

.agency-quality {
  gap: 0.72rem;
}

.agency-quality-question {
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 760;
  line-height: 1.35;
}

.agency-quality-copy {
  display: grid;
  gap: 0.54rem;
}

.agency-contrast {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.1rem;
}

.agency-contrast div {
  padding: 0.72rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel-surface);
}

.agency-contrast span {
  color: color-mix(in srgb, var(--signal-strong) 62%, var(--muted));
  letter-spacing: 0.1em;
}

.agency-contrast p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.42;
}

.agency-resolution {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
  gap: 1rem;
  align-items: start;
}

.agency-resolution p {
  margin-bottom: 0;
}

.agency-resolution p + p {
  margin-top: 0.75rem;
}

.agency-resolution ul,
.agency-designing ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.52rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agency-resolution li,
.agency-designing li {
  padding: 0.7rem 0.8rem;
  border-left: 3px solid color-mix(in srgb, var(--signal-strong) 38%, transparent);
  background: var(--signal-soft);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.34;
}

.agency-example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.agency-example {
  min-height: 10.5rem;
}

.agency-example h3 {
  margin-bottom: 0.48rem;
}

.agency-audit {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(18rem, 1.14fr);
  gap: 1.25rem;
}

.agency-audit p,
.agency-designing p,
.agency-coda p {
  margin-bottom: 0;
}

.agency-audit ol {
  display: grid;
  gap: 0.48rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agency-audit li {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 0.72rem;
  align-items: start;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
}

.agency-audit li:first-child {
  padding-top: 0;
}

.agency-audit li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.agency-audit strong {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.25;
}

.agency-audit span {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.42;
}

.agency-designing {
  display: grid;
  gap: 1rem;
}

.agency-designing-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.76fr);
  gap: 1rem;
  align-items: start;
}

.agency-designing-body>div {
  display: grid;
  gap: 0.82rem;
}

.abundance-hero {
  display: grid;
  gap: 1rem;
}

.abundance-claim {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.9fr);
  gap: 1.2rem;
  align-items: stretch;
}

.abundance-claim p:not(.page-kicker) {
  max-width: 41rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.45;
  letter-spacing: -0.012em;
}

.abundance-claim blockquote {
  display: grid;
  align-content: end;
  min-height: 100%;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 780;
  line-height: 1.32;
  letter-spacing: -0.012em;
}

.abundance-map,
.abundance-need-section,
.abundance-world,
.abundance-propositions {
  display: grid;
  gap: 1rem;
}

.abundance-section-heading {
  max-width: 45rem;
}

.abundance-section-heading h2 {
  margin-bottom: 0;
}

.abundance-dimension p + p {
  margin-top: 0.62rem;
}

.abundance-dimension-summary {
  color: var(--text);
  font-weight: 720;
}

.abundance-readable-copy {
  display: grid;
  gap: 0.85rem;
  max-width: 50rem;
}

.abundance-readable-copy p {
  margin-bottom: 0;
}

.abundance-world li {
  min-height: 5.25rem;
  color: var(--muted);
}

.abundance-boundaries {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.82fr);
  gap: 1.35rem;
}

.abundance-boundary-examples {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.abundance-boundary-examples p {
  margin-bottom: 0;
  padding: 0.86rem;
  border: 1px solid color-mix(in srgb, var(--inverse-text) 16%, transparent);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--inverse-text) 7%, transparent);
  color: var(--inverse-text);
  font-size: 0.95rem;
  line-height: 1.38;
}

.abundance-propositions ul {
  gap: 0.58rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.abundance-propositions li {
  padding: 0.82rem 0.95rem;
  border-left: 3px solid color-mix(in srgb, var(--signal-strong) 38%, transparent);
  background: var(--signal-soft);
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.42;
}

@media (min-width: 1180px) {
  main {
    width: min(100% - 4rem, var(--max-width));
  }

  .hero-section {
    padding: clamp(1.8rem, 3.8vw, 3.2rem) 0 clamp(1.8rem, 3vw, 2.8rem);
  }

  h1 {
    margin-bottom: clamp(0.15rem, 0.55vw, 0.45rem);
    font-size: clamp(5.4rem, 6.55vw, 6.45rem);
    line-height: 0.86;
  }

  .identity-statement {
    --wheel-height: clamp(16.8rem, 19vw, 19.4rem);
    --wheel-active-size: clamp(3.05rem, 3.8vw, 3.78rem);
    --wheel-marker-height: clamp(4.85rem, 5.95vw, 5.7rem);
    gap: clamp(0.65rem, 1.2vw, 0.95rem);
    margin-bottom: clamp(0.75rem, 1.35vw, 1.2rem);
  }

  .identity-statement>span {
    font-size: clamp(3.5rem, 4.45vw, 4.45rem);
  }

  .aspect-wheel-shell {
    width: min(100%, 49rem);
  }

  .aspect-option[data-long-option="true"] {
    font-size: clamp(2.55rem, 3.22vw, 3.22rem);
  }

  .aspect-intro {
    max-width: 46rem;
    gap: 0.55rem;
    font-size: clamp(1.25rem, 1.55vw, 1.55rem);
    line-height: 1.2;
  }
}

@media (min-width: 1180px) and (min-height: 900px) {
  .hero-section {
    padding-top: clamp(3rem, 5vh, 4.5rem);
  }
}

@media (min-width: 1180px) and (max-height: 820px) {
  .hero-section {
    padding-top: 1.2rem;
  }

  h1 {
    font-size: clamp(4.85rem, 5.8vw, 5.75rem);
  }

  .identity-statement {
    --wheel-height: clamp(15.2rem, 17vw, 17.4rem);
    --wheel-active-size: clamp(2.75rem, 3.35vw, 3.35rem);
    --wheel-marker-height: clamp(4.35rem, 5.25vw, 5rem);
  }

  .identity-statement>span {
    font-size: clamp(3.1rem, 3.9vw, 3.9rem);
  }

  .aspect-option[data-long-option="true"] {
    font-size: clamp(2.25rem, 2.82vw, 2.82rem);
  }

  .aspect-intro {
    max-width: 44rem;
    font-size: clamp(1.12rem, 1.36vw, 1.34rem);
    line-height: 1.18;
  }
}

.blocks-section {
  padding: 0 0 clamp(3rem, 6vw, 5rem);
}

.portfolio-toolbar {
  position: sticky;
  top: 4.8rem;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: -0.8rem -1.2rem 1.2rem;
  padding: 0.8rem 1.2rem 1.15rem;
  background: transparent;
  backdrop-filter: none;
  overflow: visible;
}

.filter-bar {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  min-width: 0;
  gap: var(--control-gap);
  overflow: visible;
}

.filter-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--control-gap);
  min-height: var(--control-height);
  padding: 0 var(--control-padding-x);
  border: 1px solid var(--filter-chip-border);
  border-radius: var(--control-radius);
  background: var(--filter-chip-surface);
  box-shadow: var(--filter-chip-shadow);
  color: var(--filter-chip-text);
  cursor: pointer;
  font-size: var(--control-font-size);
  font-weight: var(--control-font-weight);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  white-space: nowrap;
}

.filter-chip:hover {
  color: var(--text);
  border-color: var(--filter-chip-hover-border);
  background: var(--filter-chip-hover-surface);
}

.filter-chip.active {
  border-color: var(--filter-chip-active-border);
  color: var(--filter-chip-active-text);
  background: var(--filter-chip-active-surface);
  box-shadow: var(--filter-chip-active-shadow);
  transform: translateY(-1px);
}

.filter-chip .ui-icon {
  width: var(--control-icon-size);
  height: var(--control-icon-size);
}

.filter-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.filter-count {
  display: inline-flex;
  min-width: 1.28rem;
  height: 1.28rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 0.34rem;
  border-radius: 999px;
  background: var(--filter-count-surface);
  color: var(--filter-count-text);
  font-size: 0.7rem;
  font-weight: 850;
}

.filter-chip.active .filter-count {
  background: var(--filter-count-active-surface);
  color: var(--filter-count-active-text);
}

.sort-menu {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  margin-left: 0.1rem;
  padding-left: 0;
  border-left: 0;
  overflow: visible;
}

.sort-menu-button {
  display: inline-flex;
  align-items: center;
  gap: var(--control-gap);
  min-height: calc(var(--control-height) - 0.1rem);
  padding: 0 var(--control-padding-x);
  border: 1px solid var(--sort-border);
  border-radius: var(--control-radius);
  background: var(--control-dark);
  box-shadow: var(--sort-shadow);
  color: var(--solid-action-text);
  cursor: pointer;
  font: inherit;
  font-size: calc(var(--control-font-size) - 0.02rem);
  font-weight: var(--control-font-weight);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  white-space: nowrap;
}

.sort-menu-button:hover,
.sort-menu-button:focus-visible {
  border-color: var(--sort-hover-border);
  background: var(--control-dark-hover);
  outline: none;
}

.sort-menu-button>.ui-icon {
  width: var(--control-icon-size);
  height: var(--control-icon-size);
  color: rgba(255, 253, 250, 0.86);
}

.sort-menu-text {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.sort-menu-text strong {
  color: var(--text-inverse);
  font-size: inherit;
  font-weight: inherit;
}

.sort-menu-chevron {
  display: inline-flex;
  color: rgba(255, 253, 250, 0.66);
  transition: transform 180ms ease;
}

.sort-menu-chevron .ui-icon {
  width: 0.9rem;
  height: 0.9rem;
}

.sort-menu-button[aria-expanded="true"] .sort-menu-chevron {
  transform: rotate(180deg);
}

.sort-menu-list {
  position: absolute;
  top: calc(100% + 0.42rem);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 10.8rem;
  gap: 0.18rem;
  padding: 0.32rem;
  border: 1px solid var(--soft-control-border);
  border-radius: var(--control-radius);
  background: var(--popover-surface);
  box-shadow: var(--popover-shadow);
  backdrop-filter: blur(18px);
}

.sort-menu-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  padding: 0.62rem var(--control-padding-x);
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 760;
  text-align: left;
}

.sort-menu-item:hover,
.sort-menu-item:focus-visible {
  background: rgba(34, 26, 22, 0.06);
  color: var(--text);
  outline: none;
}

.sort-menu-item.active {
  background: var(--signal-soft);
  color: var(--signal-strong);
}

.block-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.block-column {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.block-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel-surface-strong);
  box-shadow: var(--panel-shadow);
  backdrop-filter: blur(16px);
}

.block-card {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 1.25rem;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.block-card.is-newly-loaded {
  animation: new-block-glow 700ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

@keyframes new-block-glow {
  0% {
    border-color: color-mix(in srgb, var(--signal) 36%, rgba(34, 26, 22, 0.16));
    box-shadow:
      0 24px 58px rgba(72, 49, 35, 0.13),
      inset 0 0 0 2px color-mix(in srgb, var(--signal) 16%, transparent);
  }

  100% {
    border-color: var(--line);
  }
}

.block-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.38rem;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.block-card p,
.card-book-preview,
.expanded-content p,
.expanded-book-list {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.46;
}

.block-card p:not(.card-year) {
  margin-bottom: 0;
}

.card-preview {
  display: grid;
  gap: 0.72rem;
  overflow: visible;
}

.card-preview p {
  margin-bottom: 0;
}

.card-book-preview {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1.1rem;
}

.card-book-preview li::marker {
  color: var(--signal-strong);
}

.card-more-item {
  color: color-mix(in srgb, var(--muted) 78%, transparent);
  font-style: italic;
}

.expanded-content {
  display: grid;
  gap: 0.72rem;
}

.expanded-content p {
  margin: 0;
}

.expanded-book-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.expanded-book-list li::marker {
  color: var(--signal-strong);
}

.expand-card-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  padding: 0.2rem 0;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--signal-strong) 42%, transparent);
  border-radius: 0;
  background: transparent;
  color: var(--signal-strong);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 820;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.expand-card-icon {
  display: inline-flex;
  transition: transform 180ms ease;
}

.expand-card-icon .ui-icon {
  width: 0.92rem;
  height: 0.92rem;
}

.block-card.is-expanded .expand-card-icon {
  transform: rotate(180deg);
}

.block-link-button {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 0.48rem;
  width: fit-content;
  margin-top: 1rem;
  padding: 0.68rem 0.78rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--solid-action-text);
  font-size: 0.86rem;
  font-weight: 780;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.block-link-button:hover,
.block-link-button:focus-visible {
  background: var(--signal-strong);
  transform: translateY(-1px);
}

.block-link-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.block-link-button .ui-icon {
  width: 0.98rem;
  height: 0.98rem;
}

.load-more-row {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0 0.1rem;
}

.load-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.2rem 0;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--signal-strong) 42%, transparent);
  border-radius: 0;
  background: transparent;
  color: var(--signal-strong);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 820;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.load-more-button:hover,
.load-more-button:focus-visible {
  border-color: var(--signal-strong);
  color: var(--text);
  transform: translateY(-1px);
}

.load-more-button:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}

.load-more-icon {
  display: inline-flex;
}

.load-more-icon .ui-icon {
  width: 0.92rem;
  height: 0.92rem;
}

.expand-card-button:hover,
.expand-card-button:focus-visible {
  border-color: var(--signal-strong);
  color: var(--text);
  transform: translateY(-1px);
}

.expand-card-button:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}

.block-card .card-year {
  margin-bottom: 0.9rem;
  color: rgba(34, 26, 22, 0.48);
  font-size: 0.98rem;
  font-weight: 680;
}

.card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: var(--muted);
}

.card-type-label {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.7rem 0.42rem 0.48rem;
  border: 1px solid var(--type-label-border);
  border-radius: 999px;
  background: var(--type-label-surface);
  color: var(--type-label-text);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-transform: uppercase;
}

.card-type-icon {
  display: inline-flex;
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--type-icon-text);
}

.card-type-icon .ui-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.empty-state {
  padding: 2rem;
}

.empty-state h3 {
  margin-bottom: 0.4rem;
}

.empty-state p {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  width: 100%;
  margin: 0;
  padding: 0.8rem max(1rem, calc((100vw - var(--max-width)) / 2));
  background: var(--footer-surface);
  color: var(--muted);
  font-size: 0.92rem;
  backdrop-filter: blur(16px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

.site-footer p {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  margin-bottom: 0;
  text-align: left;
}

.footer-license a {
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 30%, transparent);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 680;
}

.footer-license a:hover,
.footer-license a:focus-visible {
  border-color: var(--signal-strong);
  color: var(--signal-strong);
  outline: none;
}

.footer-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
  margin-left: auto;
}

.theme-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding-right: 0.25rem;
}

.theme-dot {
  width: 1.18rem;
  height: 1.18rem;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--muted) 28%, transparent);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(72, 49, 35, 0.08);
}

.theme-dot.light {
  background: linear-gradient(135deg, #fffdfa, #fbf7ef 58%, #efe5d7);
}

.theme-dot.dark {
  background: linear-gradient(135deg, #6f665e, #302821 54%, #171411);
}

.theme-dot.active {
  border-color: color-mix(in srgb, var(--signal-strong) 44%, transparent);
  box-shadow:
    0 0 0 0.36rem color-mix(in srgb, var(--surface-strong) 72%, transparent),
    0 10px 24px rgba(72, 49, 35, 0.16);
  transform: translateY(-1px);
}

.footer-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 0;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 34%, transparent);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 680;
  text-decoration: none;
}

.footer-action-button:hover,
.footer-action-button:focus-visible {
  border-color: var(--signal-strong);
  color: var(--signal-strong);
  background: transparent;
  outline: none;
}

.footer-download-menu {
  position: relative;
  display: inline-block;
}

.footer-download-menu summary {
  list-style: none;
}

.footer-download-menu summary::-webkit-details-marker {
  display: none;
}

.footer-download-options {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.42rem);
  display: grid;
  width: min(22rem, calc(100vw - 2rem));
  gap: 0.18rem;
  padding: 0.32rem;
  border: 1px solid var(--soft-control-border);
  border-radius: var(--control-radius);
  background: var(--popover-surface);
  box-shadow: var(--popover-shadow);
  backdrop-filter: blur(18px);
  z-index: 90;
}

.footer-download-options a {
  display: grid;
  gap: 0.22rem;
  padding: 0.62rem var(--control-padding-x);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 560;
  line-height: 1.28;
  text-decoration: none;
}

.footer-download-options strong {
  color: var(--signal-strong);
  font-size: 0.86rem;
  font-weight: 800;
}

.footer-download-options span {
  color: var(--muted);
}

.footer-download-options a:hover,
.footer-download-options a:focus-visible {
  background: var(--signal-soft);
  color: var(--signal-strong);
  outline: none;
}

.footer-heart {
  display: inline-flex;
  color: currentColor;
  opacity: 0.78;
}

.footer-heart .ui-icon {
  width: 0.9rem;
  height: 0.9rem;
  fill: currentColor;
  stroke: currentColor;
}

/* Dark theme component exceptions */
:root[data-theme="dark"] .identity-statement>span {
  color: rgba(255, 248, 239, 0.62);
}

:root[data-theme="dark"] .site-footer {
  border-top: 1px solid var(--line);
}

:root[data-theme="dark"] .resources-menu-item {
  color: rgba(255, 248, 239, 0.76);
}

:root[data-theme="dark"] .resources-menu-item:hover,
:root[data-theme="dark"] .resources-menu-item:focus-visible,
:root[data-theme="dark"] .resources-menu-item.active {
  background: rgba(255, 248, 239, 0.1);
  color: var(--text);
}

:root[data-theme="dark"] .principle-number,
:root[data-theme="dark"] .agency-quality-number,
:root[data-theme="dark"] .abundance-dimension-index {
  color: rgba(255, 248, 239, 0.13);
}

:root[data-theme="dark"] .manifesto-principles p,
:root[data-theme="dark"] .manifesto-applications p {
  color: rgba(255, 248, 239, 0.76);
}

:root[data-theme="dark"] .abundance-hero p:not(.page-kicker),
:root[data-theme="dark"] .abundance-claim p:not(.page-kicker),
:root[data-theme="dark"] .abundance-readable-copy p,
:root[data-theme="dark"] .abundance-dimension p,
:root[data-theme="dark"] .abundance-world li,
:root[data-theme="dark"] .abundance-propositions li,
:root[data-theme="dark"] .agency-hero p:not(.page-kicker),
:root[data-theme="dark"] .agency-foundation p,
:root[data-theme="dark"] .agency-quality-copy p,
:root[data-theme="dark"] .agency-contrast p,
:root[data-theme="dark"] .agency-resolution p,
:root[data-theme="dark"] .agency-resolution li,
:root[data-theme="dark"] .agency-example p,
:root[data-theme="dark"] .agency-audit p,
:root[data-theme="dark"] .agency-audit span,
:root[data-theme="dark"] .agency-designing p,
:root[data-theme="dark"] .agency-designing li {
  color: rgba(255, 248, 239, 0.78);
}

:root[data-theme="dark"] .abundance-dimension-summary,
:root[data-theme="dark"] .agency-quality-question,
:root[data-theme="dark"] .agency-audit strong {
  color: var(--text);
}

:root[data-theme="dark"] .story-card p:not(.page-kicker) {
  color: rgba(255, 248, 239, 0.78);
}

:root[data-theme="dark"] .block-card p,
:root[data-theme="dark"] .card-content,
:root[data-theme="dark"] .footer-download-options span {
  color: var(--muted);
}

:root[data-theme="dark"] .load-more-button {
  border-color: var(--line);
  background: var(--panel-surface);
  box-shadow: var(--panel-shadow);
}

:root[data-theme="dark"] .card-year,
:root[data-theme="dark"] .page-kicker {
  color: color-mix(in srgb, var(--muted) 86%, var(--text));
}

:root[data-theme="dark"] .manifesto-disclaimer .page-kicker {
  color: var(--inverse-kicker);
}

:root[data-theme="dark"] .manifesto-disclaimer h2,
:root[data-theme="dark"] .manifesto-disclaimer p {
  color: var(--inverse-text);
}

:root[data-theme="dark"] .manifesto-disclaimer p {
  color: var(--inverse-muted);
}

:root[data-theme="dark"] .footer-download-options a:hover,
:root[data-theme="dark"] .footer-download-options a:focus-visible {
  background: var(--signal-soft);
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}

.floating-contact {
  position: fixed;
  right: max(1rem, calc((100vw - var(--max-width)) / 2));
  bottom: 4.1rem;
  z-index: 50;
  display: grid;
  justify-items: end;
  gap: 0.7rem;
}

.floating-contact-button,
.contact-submit-button {
  border: 0;
  border-radius: 999px;
  background: var(--signal-strong);
  color: var(--solid-action-text);
  cursor: pointer;
  font-weight: 820;
  box-shadow:
    0 18px 45px color-mix(in srgb, var(--signal) 24%, transparent),
    inset 0 0 0 1px rgba(255, 253, 250, 0.24);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.floating-contact-button {
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  padding: 0.88rem 1.05rem;
}

.floating-contact-button .ui-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.floating-contact-button:hover,
.floating-contact-button:focus-visible,
.contact-submit-button:hover,
.contact-submit-button:focus-visible {
  background: color-mix(in srgb, var(--signal-strong) 88%, var(--text));
  box-shadow:
    0 22px 52px color-mix(in srgb, var(--signal) 32%, transparent),
    inset 0 0 0 1px rgba(255, 253, 250, 0.32);
  transform: translateY(-1px);
}

.contact-popover {
  display: grid;
  width: min(22rem, calc(100vw - 2rem));
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--contact-popover-surface);
  box-shadow: var(--contact-popover-shadow);
  backdrop-filter: blur(18px);
}

.contact-popover-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.contact-popover h2 {
  margin-bottom: 0;
  font-size: 1.16rem;
  letter-spacing: 0;
}

.contact-popover-topline button {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(34, 26, 22, 0.06);
  cursor: pointer;
}

.contact-popover label {
  display: grid;
  gap: 0.34rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.contact-popover input,
.contact-popover textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--field-surface);
  color: var(--text);
  font: inherit;
  padding: 0.72rem var(--control-padding-x);
}

.contact-popover textarea {
  resize: vertical;
}

.contact-recaptcha {
  min-height: 4.8rem;
  overflow: hidden;
}

.contact-submit-button {
  width: fit-content;
  padding: 0.78rem 0.9rem;
}

.contact-submit-button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.contact-form-status {
  min-height: 1.15rem;
  margin-bottom: 0;
  color: var(--signal-strong);
  font-size: 0.82rem;
  font-weight: 760;
}

@media (max-width: 980px) {
  .identity-statement {
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(0.45rem, 2vw, 0.85rem);
  }

  .identity-statement>span {
    font-size: clamp(2.15rem, 7.8vw, 5.6rem);
    letter-spacing: -0.06em;
  }

  .block-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .abundance-claim,
  .abundance-boundaries,
  .agency-definition,
  .agency-foundation,
  .agency-resolution,
  .agency-audit,
  .agency-designing-body {
    grid-template-columns: 1fr;
  }

  .abundance-dimensions,
  .agency-example-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 680px) {
  .site-shell {
    padding-bottom: 5.75rem;
  }

  .site-header {
    position: sticky;
    width: 100%;
    gap: 0.65rem;
    padding: 0.7rem 0.75rem 0.2rem;
  }

  .site-logo {
    position: relative;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
  }

  .site-menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 2;
    width: 3rem;
    height: 3rem;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--signal-strong);
    box-shadow: none;
  }

  .site-menu-toggle .ui-icon {
    width: 1.6rem;
    height: 1.6rem;
  }

  .site-tabs {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    display: grid;
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 4.35rem 0.75rem 1.2rem;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: var(--popover-surface);
    box-shadow: none;
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transform-origin: top center;
    visibility: hidden;
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 0s linear 180ms;
  }

  .site-header.menu-open .site-tabs {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
  }

  .site-tab-indicator {
    display: none;
  }

  .site-tab {
    min-width: 0;
    min-height: 3.1rem;
    justify-content: flex-start;
    padding: 0 1.05rem;
    font-size: 1rem;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
  }

  .resources-menu,
  .mobile-menu-section {
    --resources-tree-branch-width: 0.95rem;
    --resources-tree-gap: 0.62rem;
    --resources-tree-item-height: 2.6rem;
    --resources-tree-line-x: 0.74rem;
    --resources-tree-stroke: color-mix(in srgb, var(--muted) 34%, transparent);
    --resources-trigger-block-size: 2.95rem;
    position: relative;
    width: 100%;
  }

  .mobile-menu-section {
    display: block;
  }

  .resources-menu::before,
  .mobile-menu-section::before {
    position: absolute;
    top: calc(var(--resources-trigger-block-size) - 0.1rem);
    bottom: calc(0.3rem + (var(--resources-tree-item-height) / 2));
    left: var(--resources-tree-line-x);
    width: 1px;
    background: var(--resources-tree-stroke);
    content: "";
  }

  .resources-menu::after,
  .mobile-menu-section::after {
    position: absolute;
    right: 1.05rem;
    bottom: 0;
    left: calc(
      var(--resources-tree-line-x) +
      var(--resources-tree-branch-width) +
      var(--resources-tree-gap)
    );
    height: 1px;
    background: var(--resources-tree-stroke);
    content: "";
  }

  .resources-trigger {
    min-height: var(--resources-trigger-block-size);
    justify-content: flex-start;
    padding: 0 1.05rem;
    color: color-mix(in srgb, var(--muted) 72%, transparent);
    cursor: default;
    font-size: 0.75rem;
    font-weight: 760;
    letter-spacing: 0.16em;
    opacity: 0.82;
    pointer-events: none;
    text-decoration-line: none;
    text-transform: uppercase;
  }

  .resources-trigger .ui-icon {
    display: none;
  }

  .mobile-menu-heading {
    display: flex;
    min-height: var(--resources-trigger-block-size);
    align-items: center;
    margin: 0;
    padding: 0 1.05rem;
    color: color-mix(in srgb, var(--muted) 72%, transparent);
    font-size: 0.75rem;
    font-weight: 760;
    letter-spacing: 0.16em;
    line-height: 1;
    opacity: 0.82;
    text-transform: uppercase;
  }

  .resources-menu-list,
  .mobile-menu-list {
    position: relative;
    min-width: 0;
    display: grid;
    margin-top: 0;
    padding: 0 0 0.3rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    backdrop-filter: none;
  }

  .mobile-menu-list {
    padding-bottom: 0.3rem;
  }

  .resources-menu:not(.open) .resources-menu-list {
    display: grid;
  }

  .resources-menu-item,
  .mobile-menu-item {
    position: relative;
    display: flex;
    min-height: var(--resources-tree-item-height);
    align-items: center;
    gap: 0.7rem;
    justify-content: flex-start;
    padding: 0 1.05rem 0 calc(
      var(--resources-tree-line-x) +
      var(--resources-tree-branch-width) +
      var(--resources-tree-gap)
    );
    font-size: 0.95rem;
  }

  .mobile-menu-item {
    color: var(--muted);
    font-weight: 760;
  }

  .resources-menu-item::before,
  .mobile-menu-item::before {
    position: absolute;
    top: 50%;
    left: var(--resources-tree-line-x);
    width: var(--resources-tree-branch-width);
    height: 1px;
    background: var(--resources-tree-stroke);
    content: "";
  }

  .mobile-menu-item .ui-icon {
    width: 0.96rem;
    height: 0.96rem;
    flex: 0 0 auto;
  }

  .mobile-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.9rem;
    padding: 0.65rem 1.05rem 0.15rem;
    border-top: 1px solid color-mix(in srgb, var(--muted) 18%, transparent);
  }

  .mobile-footer-link {
    color: color-mix(in srgb, var(--muted) 88%, transparent);
    font-size: 0.82rem;
    font-weight: 680;
    line-height: 1.2;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.28rem;
  }

  .mobile-footer-link:hover,
  .mobile-footer-link:focus-visible,
  .mobile-footer-link.active {
    color: var(--signal-strong);
    outline: none;
  }

  .site-tab.active {
    color: var(--signal-strong);
  }

  .download-cv-section {
    min-height: calc(100vh - 10rem);
    padding: 2rem 0 4rem;
  }

  .download-cv-section.active {
    display: block;
  }

  .download-cv-layout {
    display: grid;
    gap: 1.15rem;
    max-width: 38rem;
    margin: 0 auto;
  }

  .download-cv-hero h1 {
    max-width: 9.5ch;
    margin-bottom: 0;
    font-size: clamp(3rem, 14vw, 5.1rem);
    line-height: 0.92;
    letter-spacing: -0.068em;
  }

  .download-cv-options {
    display: grid;
    gap: 0.85rem;
  }

  .download-cv-card {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--panel-surface);
    box-shadow: var(--panel-shadow);
  }

  .download-cv-card h2 {
    margin-bottom: 0.45rem;
    font-size: 1.22rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .download-cv-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.5;
  }

  .download-cv-button {
    display: inline-flex;
    min-height: 2.85rem;
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0 0.92rem;
    border: 1px solid var(--primary-action-border);
    border-radius: 999px;
    background: var(--primary-action-surface);
    color: var(--primary-action-text);
    font-size: 0.9rem;
    font-weight: 800;
  }

  .download-cv-button .ui-icon {
    width: 1rem;
    height: 1rem;
  }

  main {
    width: min(100% - 1.5rem, var(--max-width));
  }

  .site-footer {
    width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .hero-section {
    padding-top: 0.95rem;
    padding-bottom: 2.1rem;
  }

  h1 {
    max-width: 11ch;
    margin-bottom: 0.55rem;
    font-size: clamp(3rem, 15vw, 4.75rem);
    line-height: 0.92;
  }

  .identity-statement {
    --wheel-height: 21rem;
    --wheel-active-size: clamp(2rem, 8.8vw, 2.85rem);
    --wheel-long-active-size: clamp(1.78rem, 7.45vw, 2.35rem);
    --wheel-marker-height: clamp(5.15rem, 22vw, 6.55rem);
    --wheel-edge-buffer: 0;
    --wheel-right-buffer: 0;
    gap: clamp(0.45rem, 2.5vw, 0.75rem);
    margin-bottom: 1.1rem;
  }

  .identity-statement>span {
    font-size: clamp(2rem, 8.5vw, 2.85rem);
    letter-spacing: -0.055em;
  }

  .aspect-wheel-shell {
    width: 100%;
  }

  .aspect-option {
    padding: 0 clamp(0.9rem, 4vw, 1.25rem);
    letter-spacing: -0.052em;
  }

  .aspect-option[data-long-option="true"] {
    font-size: var(--wheel-long-active-size);
    letter-spacing: -0.045em;
    line-height: 1.12;
  }

  .aspect-option[data-long-option="true"] .aspect-option-label {
    overflow: visible;
    white-space: normal;
    text-wrap: balance;
    padding-block: 0.08em;
  }

  .aspect-intro {
    max-width: 34rem;
    gap: 0.62rem;
    font-size: clamp(1.05rem, 4.65vw, 1.28rem);
    line-height: 1.38;
    letter-spacing: -0.018em;
  }

  .home-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-top: 1.25rem;
  }

  .home-action-button {
    width: 100%;
    min-height: 2.9rem;
  }

  .post-growth-section {
    min-height: calc(100vh - 12rem);
    padding: 2rem 0 4rem;
  }

  .abundance-section,
  .agency-section {
    padding: 2rem 0 4rem;
  }

  .manifesto-layout,
  .agency-layout,
  .abundance-layout,
  .abundance-hero {
    gap: 1rem;
  }

  .manifesto-section,
  .manifesto-disclaimer,
  .agency-definition,
  .agency-foundation article,
  .agency-resolution,
  .agency-audit,
  .agency-designing,
  .agency-coda,
  .abundance-claim>div,
  .abundance-claim blockquote,
  .abundance-boundaries {
    grid-template-columns: 1fr;
    padding: 1rem;
    border-radius: 18px;
  }

  .manifesto-hero h1,
  .agency-hero h1,
  .abundance-hero h1 {
    font-size: clamp(3rem, 15vw, 5.25rem);
  }

  .manifesto-hero p,
  .manifesto-section p,
  .manifesto-disclaimer p,
  .agency-hero .page-kicker,
  .agency-hero p:not(.page-kicker),
  .agency-foundation p,
  .agency-resolution p,
  .agency-audit p,
  .agency-designing p,
  .agency-coda p,
  .abundance-hero .page-kicker,
  .abundance-hero p:not(.page-kicker),
  .abundance-readable-copy p,
  .abundance-boundaries p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .manifesto-hero p,
  .agency-hero .page-kicker,
  .agency-hero p:not(.page-kicker),
  .abundance-hero .page-kicker,
  .abundance-hero p:not(.page-kicker) {
    font-size: clamp(1.08rem, 5.2vw, 1.45rem);
    line-height: 1.35;
  }

  .manifesto-section h2,
  .manifesto-disclaimer h2,
  .abundance-claim h2,
  .abundance-section-heading h2,
  .abundance-boundaries h2,
  .agency-foundation h2,
  .agency-section-heading h2,
  .agency-resolution h2,
  .agency-audit h2,
  .agency-coda h2 {
    font-size: clamp(1.8rem, 9vw, 2.75rem);
  }

  .agency-definition>p {
    font-size: 1.18rem;
    line-height: 1.3;
  }

  .abundance-claim blockquote {
    min-height: 0;
    font-size: 1.05rem;
  }

  .manifesto-principles,
  .manifesto-applications,
  .abundance-dimensions,
  .abundance-world ul,
  .abundance-propositions ul,
  .agency-quality-grid,
  .agency-contrast,
  .agency-resolution ul,
  .agency-example-grid,
  .agency-designing ul {
    grid-template-columns: 1fr;
  }

  .manifesto-principles article,
  .abundance-dimension {
    min-height: 0;
    padding: 0.95rem;
  }

  .agency-quality,
  .agency-example {
    min-height: 0;
    padding: 0.95rem;
  }

  .agency-audit li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .abundance-world li {
    min-height: 0;
  }

  .story-section {
    padding: 2rem 0 4rem;
  }

  .story-layout {
    gap: 1.15rem;
  }

  .story-hero h1 {
    font-size: clamp(3rem, 14vw, 5.1rem);
  }

  .story-hero p:not(.page-kicker) {
    font-size: clamp(1.04rem, 4.8vw, 1.28rem);
    line-height: 1.5;
  }

  .story-card {
    padding: 1.05rem 0.9rem;
  }

  .story-card p:not(.page-kicker),
  .story-coda p:not(.page-kicker) {
    font-size: 1rem;
    line-height: 1.6;
  }

  .story-dropcap {
    font-size: clamp(3.1rem, 17vw, 4.2rem);
  }

  .story-coda {
    padding: 1.2rem 0.85rem;
  }

  .principle-number,
  .agency-quality-number,
  .abundance-dimension-index {
    right: 0.62rem;
    bottom: 0;
    font-size: clamp(5.6rem, 24vw, 7.4rem);
  }

  .manifesto-rules ul {
    font-size: 1rem;
  }

  .portfolio-toolbar {
    position: static;
    align-items: stretch;
    flex-direction: column;
    margin: -0.9rem 0 1.15rem;
    padding: 0.9rem 0 1.2rem;
  }

  .filter-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .filter-chip {
    width: 100%;
    min-height: var(--control-height);
    gap: 0.42rem;
    justify-content: flex-start;
    padding: 0 0.62rem;
    font-size: clamp(0.78rem, 3.6vw, 0.86rem);
  }

  .filter-chip .ui-icon {
    width: 0.96rem;
    height: 0.96rem;
  }

  .filter-count {
    margin-left: auto;
    min-width: 1.18rem;
    height: 1.18rem;
    padding: 0 0.26rem;
    font-size: 0.64rem;
  }

  .sort-menu {
    width: fit-content;
    max-width: 100%;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .sort-menu-list {
    right: auto;
    left: 0;
  }

  .sort-menu-button {
    min-height: calc(var(--control-height) - 0.1rem);
  }

  .block-grid {
    grid-template-columns: 1fr;
  }

  .floating-contact {
    right: 0.5rem;
    bottom: calc(3.85rem + env(safe-area-inset-bottom));
  }

  .floating-contact-button {
    padding: 0.68rem 0.85rem;
    font-size: 0.92rem;
  }

  .site-footer {
    font-size: 0.82rem;
    padding-top: 0.62rem;
    padding-bottom: calc(0.62rem + env(safe-area-inset-bottom));
  }

  .site-footer p {
    flex-wrap: wrap;
    row-gap: 0.12rem;
  }

  .footer-inner {
    align-items: center;
    flex-direction: row;
    gap: 0.7rem;
    justify-content: space-between;
  }

  .footer-actions {
    justify-content: flex-end;
    margin-left: 0;
  }

  .site-footer .footer-license,
  .footer-action-button,
  .footer-download-menu {
    display: none;
  }

  .footer-download-menu {
    position: static;
  }

  .footer-download-options {
    position: fixed;
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: calc(5rem + env(safe-area-inset-bottom));
    left: max(0.75rem, env(safe-area-inset-left));
    width: auto;
    max-height: min(18rem, calc(100vh - 7rem));
    overflow-y: auto;
  }

  .footer-download-options a {
    padding: 0.7rem 0.78rem;
    font-size: 0.84rem;
  }
}
