/* =============================================================
   COMPONENT CLASSES — Derived from $meta.componentBindings
   Every property traces to a token primitive via var(--...).
   ============================================================= */

/* =============================================================
   TYPOGRAPHY COMPOSITES
   ============================================================= */

/* Heading 1: fontSize:4xl, fontWeight:bold, lineHeight:4xl, letterSpacing:tight, fontFamily:heading */
.typo-heading-1 {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-4xl);
  letter-spacing: var(--tracking-tight);
}

/* Heading 2: fontSize:3xl, fontWeight:bold, lineHeight:3xl, letterSpacing:tight, fontFamily:heading */
.typo-heading-2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-3xl);
  letter-spacing: var(--tracking-tight);
}

/* Heading 3: fontSize:2xl, fontWeight:semibold, lineHeight:2xl, letterSpacing:tight, fontFamily:heading */
.typo-heading-3 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-2xl);
  letter-spacing: var(--tracking-tight);
}

/* Heading 4: fontSize:xl, fontWeight:semibold, lineHeight:xl, letterSpacing:heading, fontFamily:heading */
.typo-heading-4 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-xl);
  letter-spacing: var(--tracking-heading);
}

/* Heading 5: fontSize:lg, fontWeight:semibold, lineHeight:lg, letterSpacing:tight, fontFamily:heading */
.typo-heading-5 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-lg);
  letter-spacing: var(--tracking-tight);
}

/* Heading 6: fontSize:lg, fontWeight:semibold, lineHeight:base, letterSpacing:heading, fontFamily:heading */
.typo-heading-6 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-base);
  letter-spacing: var(--tracking-heading);
}

/* Body (Default): fontSize:base, fontWeight:normal, lineHeight:base, letterSpacing:normal, fontFamily:body */
.typo-body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  line-height: var(--leading-base);
  letter-spacing: var(--tracking-normal);
}

/* Body (Large): fontSize:lg, fontWeight:normal, lineHeight:lg, letterSpacing:normal, fontFamily:body */
.typo-body-lg {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--weight-normal);
  line-height: var(--leading-lg);
  letter-spacing: var(--tracking-normal);
}

/* Label: fontSize:sm, fontWeight:normal, lineHeight:sm, letterSpacing:wide, fontFamily:body */
.typo-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-normal);
  line-height: var(--leading-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* =============================================================
   BUTTONS — Shared base
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  height: var(--space-3xl);
  padding: 0 var(--space-md);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-base);
  letter-spacing: var(--tracking-heading);
  border-radius: var(--radius-xs);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary: bg:accent-emphasis, fg:background */
.btn-primary {
  background: var(--color-accent-emphasis);
  color: var(--color-background);
  border: var(--border-none) solid transparent;
  transition: background var(--duration-normal) var(--ease-default),
              color var(--duration-normal) var(--ease-default);
}

/* Secondary: bg:primary-foreground, fg:primary */
.btn-secondary {
  background: var(--color-primary-foreground);
  color: var(--color-primary);
  border: var(--border-none) solid transparent;
  transition: background var(--duration-normal) var(--ease-default),
              color var(--duration-normal) var(--ease-default);
}

/* Ghost: bg:transparent, fg:foreground */
.btn-ghost {
  background: transparent;
  color: var(--color-foreground);
  border: var(--border-none) solid transparent;
  transition: background var(--duration-normal) var(--ease-default),
              color var(--duration-normal) var(--ease-default);
}
.btn-ghost svg {
  width: var(--icon-small);
  height: var(--icon-small);
  flex-shrink: 0;
}

/* Outline: bg:transparent, fg:foreground, border:border/thin */
.btn-outline {
  background: transparent;
  color: var(--color-foreground);
  border: var(--border-thin) solid var(--color-border);
  transition: background var(--duration-normal) var(--ease-default),
              color var(--duration-normal) var(--ease-default);
}

/* Icon: bg:foreground, fg:background */
.btn-icon {
  background: var(--color-foreground);
  color: var(--color-background);
  border: var(--border-none) solid transparent;
  padding: 0 var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-normal);
  line-height: var(--leading-sm);
  letter-spacing: var(--tracking-wide);
  transition: background var(--duration-normal) var(--ease-default),
              color var(--duration-normal) var(--ease-default);
}
.btn-icon svg {
  width: var(--icon-medium);
  height: var(--icon-medium);
}

/* Small button size modifier */
.btn--sm {
  height: 40px;
  padding: 0 var(--space-sm);
}

/* Camo texture overlay — layers on top of any button variant */
.btn--camo::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.015' numOctaves='2' seed='8' result='turb'/%3E%3CfeComponentTransfer in='turb' result='thresh'%3E%3CfeFuncA type='discrete' tableValues='0 0 0 1 1 1 1 1'/%3E%3C/feComponentTransfer%3E%3CfeFlood flood-color='white' flood-opacity='0.22' result='white'/%3E%3CfeComposite in='white' in2='thresh' operator='in'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23f)'/%3E%3C/svg%3E");
  background-size: cover;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}
.btn--camo > * { position: relative; z-index: 2; }
.btn--camo svg {
  width: var(--icon-small);
  height: var(--icon-small);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* Splatter texture overlay — organic blob splatter */
.btn--splatter::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='4' seed='2' result='turb'/%3E%3CfeComponentTransfer in='turb' result='thresh'%3E%3CfeFuncA type='discrete' tableValues='0 0 0 0 1 1 1 1'/%3E%3C/feComponentTransfer%3E%3CfeFlood flood-color='white' flood-opacity='0.25' result='white'/%3E%3CfeComposite in='white' in2='thresh' operator='in'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23f)'/%3E%3C/svg%3E");
  background-size: cover;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}
.btn--splatter > * { position: relative; z-index: 2; }
.btn--splatter svg {
  width: var(--icon-small);
  height: var(--icon-small);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* Ripple animation */
@keyframes btn-ripple {
  0% { transform: scale(0); opacity: 0.55; }
  100% { transform: scale(4); opacity: 0; }
}
.btn-ripple-span {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: btn-ripple 500ms ease-out forwards;
}

/* =============================================================
   BADGE
   bg:primary, fg:primary-foreground, radius:xs, paddingY:micro, paddingX:sm, typo:label
   ============================================================= */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-micro) var(--space-sm);
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-radius: var(--radius-xs);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-sm);
  letter-spacing: var(--tracking-wide);
}

/* =============================================================
   INFO CARD
   bg:background, fg:foreground, border:border/thin, radius:xs, shadow:sm,
   paddingY:lg, paddingX:lg, gap:lg, iconBg:accent, iconFg:background,
   iconTexture:splatter, iconSize:large, icon:arrow-right,
   titleTypo:heading-5, bodyTypo:body, hoverBg:muted, hoverShadow:md,
   clickable, rippleColor:foreground, transition:fast
   ============================================================= */
.card-info {
  background: var(--color-background);
  color: var(--color-foreground);
  border: var(--border-thin) solid var(--color-border);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background var(--duration-fast) var(--ease-default),
              box-shadow var(--duration-fast) var(--ease-default);
}

.card-info__icon {
  width: calc(var(--icon-large) + var(--space-lg));
  height: calc(var(--icon-large) + var(--space-lg));
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  border-radius: var(--radius-xs);
  position: relative;
  overflow: hidden;
}
.card-info__icon svg {
  color: var(--color-background);
  width: var(--icon-large);
  height: var(--icon-large);
  position: relative;
  z-index: 1;
}
/* Splatter texture overlay */
.card-info__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='4' seed='2' result='turb'/%3E%3CfeComponentTransfer in='turb' result='thresh'%3E%3CfeFuncA type='discrete' tableValues='0 0 0 0 1 1 1 1'/%3E%3C/feComponentTransfer%3E%3CfeFlood flood-color='white' flood-opacity='0.25' result='white'/%3E%3CfeComposite in='white' in2='thresh' operator='in'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23f)'/%3E%3C/svg%3E");
  background-size: cover;
  pointer-events: none;
}

.card-info__title {
  color: var(--color-foreground);
}

.card-info__body {
  color: var(--color-muted-foreground);
}

/* =============================================================
   CMS CARD
   bg:background, fg:foreground, border:none, radius:xs, shadow:sm,
   imageBg:secondary, imageHeight:4xl, paddingY:lg, paddingX:lg, gap:lg,
   badgeBg:muted-foreground, badgeFg:primary-foreground, badgeRadius:xs, badgeTypo:label,
   titleTypo:heading-6, bodyTypo:body, metaFg:muted-foreground, metaTypo:label,
   clickable, rippleColor:foreground, transition:fast
   ============================================================= */
.card-cms {
  /* White card body so SVG charts (whose own canvas is the tan
     --color-background) read as a distinct image area, not blended in.
     Thin white border separates the tan image area from the page bg. */
  background: var(--color-primary-foreground);
  color: var(--color-foreground);
  border: 1px solid var(--color-primary-foreground);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-default),
              box-shadow var(--duration-fast) var(--ease-default);
}

.card-cms__image {
  /* Image area uses the brand-tan background so a chart SVG (which has tan
     as its own fill) blends seamlessly. background-size:contain (set in the
     importer's inline style) keeps the chart fully visible — no cropping. */
  background: var(--color-background);
  height: var(--space-4xl);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  font-size: var(--text-sm);
}

.card-cms__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.card-cms__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: var(--space-micro) var(--space-sm);
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-radius: var(--radius-xs);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.card-cms__title {
  color: var(--color-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-cms__text {
  color: var(--color-muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Author byline on the card (rendered when post.author.name exists) */
.card-cms__byline {
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-sm);
  margin: 0;
}

.card-cms__meta {
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* =============================================================
   VERTICAL ICON TILE
   iconBg:accent-emphasis-foreground, iconFg:primary-foreground,
   iconTexture:marble, iconRadius:xs, iconSize:large,
   titleFg:foreground, titleTypo:heading-6, bodyFg:muted-foreground, bodyTypo:body, gap:md
   ============================================================= */
.icon-tile {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.icon-tile__icon {
  width: calc(var(--icon-large) + var(--space-lg));
  height: calc(var(--icon-large) + var(--space-lg));
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-emphasis-foreground);
  border-radius: var(--radius-xs);
  position: relative;
  overflow: hidden;
}
.icon-tile__icon svg {
  color: var(--color-primary-foreground);
  width: var(--icon-large);
  height: var(--icon-large);
  pointer-events: none;
  position: relative;
  z-index: 1;
}
/* Marble texture overlay */
.icon-tile__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.03 0.08' numOctaves='5' seed='12' result='turb'/%3E%3CfeComponentTransfer in='turb' result='thresh'%3E%3CfeFuncA type='discrete' tableValues='0 0 0 0 0 1 1 1'/%3E%3C/feComponentTransfer%3E%3CfeFlood flood-color='white' flood-opacity='0.2' result='white'/%3E%3CfeComposite in='white' in2='thresh' operator='in'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23f)'/%3E%3C/svg%3E");
  background-size: cover;
  pointer-events: none;
}

.icon-tile__title {
  color: var(--color-foreground);
}

.icon-tile__body {
  color: var(--color-muted-foreground);
}

/* =============================================================
   ACCORDION (FAQ)
   bg:primary-foreground, fg:foreground, border:muted-foreground/thin, radius:sm,
   paddingY:base, paddingX:lg, bodyPaddingY:2xl, bodyPaddingX:lg,
   titleTypo:heading-6, bodyTypo:body, icon:chevron-down, iconColor:primary,
   iconSize:medium, hoverBg:muted-foreground, transition:fast
   ============================================================= */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.accordion__item {
  background: var(--color-primary-foreground);
  color: var(--color-foreground);
  border: var(--border-thin) solid var(--color-outline);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-base) var(--space-lg);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-base);
  letter-spacing: var(--tracking-heading);
  color: inherit;
  transition: background var(--duration-fast) var(--ease-default);
}

.accordion__trigger svg {
  width: var(--icon-medium);
  height: var(--icon-medium);
  color: var(--color-primary);
  transition: transform var(--duration-normal) var(--ease-default);
  flex-shrink: 0;
}

.accordion__item.is-open .accordion__trigger svg {
  transform: rotate(180deg);
}

.accordion__content {
  display: none;
  padding: 0 var(--space-lg) var(--space-lg);
}
.accordion__item.is-open .accordion__content {
  /* Soft separator between trigger and answer when expanded */
  border-top: var(--border-thin) solid var(--color-outline);
  padding-top: var(--space-base);
}

.accordion__item.is-open .accordion__content {
  display: block;
}

/* =============================================================
   AVATAR — Author
   size:3xl, radius:xs, border:none, nameFg:foreground, nameTypo:heading-6,
   captionFg:secondary, captionTypo:label
   ============================================================= */
.avatar-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.avatar-author__img {
  width: var(--space-3xl);
  height: var(--space-3xl);
  border-radius: var(--radius-xs);
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar-author__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-author__name {
  color: var(--color-foreground);
}

.avatar-author__caption {
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* =============================================================
   AVATAR — Client Logo
   size:3xl, radius:xs, border:foreground/thin, bg:background, shadow:xs
   ============================================================= */
.avatar-client-logo {
  width: var(--space-3xl);
  height: var(--space-3xl);
  border-radius: var(--radius-xs);
  border: var(--border-thin) solid var(--color-foreground);
  background: var(--color-background);
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* =============================================================
   TOOLTIP
   bg:foreground, fg:background, radius:xs, paddingY:micro, paddingX:base,
   typo:label, shadow:md
   ============================================================= */
.tooltip {
  background: var(--color-foreground);
  color: var(--color-background);
  border-radius: var(--radius-xs);
  padding: var(--space-micro) var(--space-base);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-sm);
  letter-spacing: var(--tracking-wide);
  box-shadow: var(--shadow-md);
  position: absolute;
  white-space: nowrap;
  pointer-events: none;
  z-index: var(--z-popover);
}

/* =============================================================
   BREADCRUMB
   linkColor:muted-foreground, activeColor:foreground, separatorColor:muted-foreground,
   separatorIcon:chevron-right, separatorSize:small, gap:sm, typo:body
   ============================================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-base);
  letter-spacing: var(--tracking-normal);
}

.breadcrumb a {
  color: var(--color-muted-foreground);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
}
.breadcrumb a:hover {
  color: var(--color-foreground);
}

.breadcrumb__separator {
  color: var(--color-muted-foreground);
  display: flex;
  align-items: center;
}
.breadcrumb__separator svg {
  width: var(--icon-small);
  height: var(--icon-small);
}

.breadcrumb__current {
  color: var(--color-foreground);
  font-weight: var(--weight-semibold);
}

/* =============================================================
   FORM — Text Input
   bg:background, fg:foreground, border:border/thin, borderFocus:muted, radius:xs,
   paddingY:micro, paddingX:sm, labelFg:foreground, labelTypo:label,
   placeholderFg:muted-foreground, inputTypo:body
   ============================================================= */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-label {
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.input-text {
  background: var(--color-background);
  color: var(--color-foreground);
  border: var(--border-thin) solid var(--color-border);
  border-radius: var(--radius-xs);
  padding: var(--space-micro) var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-base);
  letter-spacing: var(--tracking-normal);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-default);
  height: var(--space-2xl);
}
.input-text::placeholder {
  color: var(--color-muted-foreground);
}
.input-text:focus {
  border-color: var(--color-muted);
}

/* Textarea variant */
textarea.input-text {
  height: auto;
  min-height: 120px;
  resize: vertical;
}

/* =============================================================
   FORM — Checkbox
   bg:background, checkBg:accent-emphasis, checkFg:primary-foreground,
   border:border/thin, radius:xs, labelFg:foreground, labelTypo:label
   ============================================================= */
.input-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  cursor: pointer;
}

.input-checkbox input[type="checkbox"] {
  width: var(--space-md);
  height: var(--space-md);
  accent-color: var(--color-accent-emphasis);
  flex-shrink: 0;
  margin-top: 2px;
}

.input-checkbox__label {
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-sm);
  letter-spacing: var(--tracking-wide);
}

/* =============================================================
   SOCIAL LINKS — Icon Row
   fg:background, hoverFg:foreground, bg:primary, hoverBg:muted,
   border:none, radius:xs, size:xl, iconSize:md, gap:xs, transition:fast
   ============================================================= */
.social-links {
  display: flex;
  gap: var(--space-xs);
}

.social-link {
  width: var(--space-xl);
  height: var(--space-xl);
  border-radius: var(--radius-xs);
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-background);
  transition: background var(--duration-fast) var(--ease-default),
              color var(--duration-fast) var(--ease-default);
  text-decoration: none;
}
.social-link svg {
  width: var(--icon-medium);
  height: var(--icon-medium);
}

/* =============================================================
   PLACEHOLDER HELPERS
   ============================================================= */
.placeholder-img {
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.placeholder-logo {
  width: 120px;
  height: var(--space-3xl);
  background: var(--color-primary-foreground);
  border: var(--border-thin) solid var(--color-border);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  color: var(--color-muted-foreground);
}

/* Accessibility: visually hidden but readable by screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
