/* EnergyWay — shared brand mark (오행 Path + Syne wordmark) */

:root {
  --ew-mok: #2d9a4e;
  --ew-hwa: #d0562e;
  --ew-to: #c49a3d;
  --ew-geum: #7e8794;
  --ew-su: #2a6fad;
  --ew-paper: #fffcf7;
  --ew-ink: #1e221e;
  --font-brand: "Syne", "Noto Sans KR", system-ui, sans-serif;
}

.ew-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  line-height: 1;
}

.ew-logo__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--ew-ink) 12%, transparent);
  background: var(--ew-paper);
  box-shadow: 0 1px 0 #fff inset;
}

.ew-logo__mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ew-logo__mark--sm {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.ew-logo__word {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  color: var(--fg, var(--ew-ink));
}

.ew-logo__dot {
  color: var(--ew-hwa);
  font-weight: 700;
}

.ew-logo--hero {
  margin: 0 0 12px;
  gap: 12px;
}

.ew-logo--hero .ew-logo__word {
  font-size: clamp(1.75rem, 5vw, 2.35rem);
}

.ew-logo--hero .ew-logo__mark {
  width: 48px;
  height: 48px;
  border-radius: 13px;
}

/* Report hero overlay */
.report-hero__brand.ew-logo {
  position: absolute;
  left: 50%;
  bottom: 10%;
  z-index: 1;
  transform: translateX(-50%);
  gap: 8px;
  color: var(--muted, #6e746c);
}

.report-hero__brand.ew-logo .ew-logo__word {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: inherit;
}

.report-hero__brand.ew-logo .ew-logo__dot {
  letter-spacing: 0;
  text-transform: none;
}

.report-hero__brand.ew-logo .ew-logo__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  opacity: 0.95;
}

@media (max-width: 640px) {
  .ew-logo__word { font-size: 1.1rem; }
}
