:root {
  --color-bg: #ffffff;
  --color-text: #000000;
  --color-badge-bg: #1a1a1a;
  --color-badge-text: #ffffff;
  --font-base: 'Anton', sans-serif;
  --font-subtitle: 'Anton', sans-serif;
  --name-size: clamp(1.8rem, 7.5vw, 8rem);
  --subtitle-size: clamp(1rem, 1.8vw, 1.5rem);
}

html, body {
  height: 100%;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Hero ──────────────────────────────────────────── */

.hero {
  display: flex;
  justify-content: center;
  padding-top: 12vh;
}

/* ── Name block ─────────────────────────────────────── */

.name-block {
  display: flex;
  flex-direction: column;
  width: max-content;
  text-align: left;
}

.name-text {
  font-size: var(--name-size);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  display: inline-flex;
  align-items: flex-end;
  text-transform: uppercase;
}

/* ── Footer: subtitle left, .com badge right ────────── */

.name-footer {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    align-self: stretch;
    margin-top: -42px;
    margin-right: 10px;
    gap: 0.5em;
}

/* ── Subtitle ───────────────────────────────────────── */

.subtitle-row {
  font-family: var(--font-subtitle);
  font-size: clamp(1.2rem, 2.2vw, 2.25rem);
  font-weight: 700;
  text-transform: lowercase;
  min-height: 1.2em;
  display: flex;
  align-items: center;
}

/* ── .com badge ─────────────────────────────────────── */

.com-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-badge-bg);
  color: var(--color-badge-text);
  font-family: var(--font-base);
  font-size: calc(var(--name-size) * 0.32);
  padding: 0.2em 0.5em;
  border-radius: 0.2em;
  font-weight: 400;
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Subtitle word ───────────────────────────────────── */

.subtitle-word {
  display: inline-block;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* ── Tick overrides ─────────────────────────────────── */

/* Hide Tick's fallback/label text — covers all known class names */
.tick-text-inline,
.tick-label,
[class*="tick-text"],
[class*="tick-label"] {
  display: none !important;
  visibility: hidden !important;
}

/* Hide any non-flip direct children Tick injects inside .tick-group */
.tick-group > *:not(.tick-flip) {
  display: none !important;
}

/* Strip Tick's default letter-spacing/text-indent (meant for counters) */
.name-letter .tick-flip {
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Soft contrast — light gray panels with dark text */
.tick-flip-panel {
  background: #f0f0f0 !important;
  color: #1a1a1a !important;
  border: 1px solid #ffffff !important;
}

.tick-flip-panel-back,
.tick-flip-panel-front {
  background: #f0f0f0 !important;
}

.tick-flip-shadow {
  background: transparent !important;
  opacity: 0 !important;
}

/* Hide Tick credits badge */
.tick-credits {
  display: none !important;
}

@media (max-width: 768px) {
  :root {
    --name-size: clamp(1.5rem, 11vw, 3.5rem);
  }
  .hero {
    padding-top: 8vh;
  }
  .name-footer {
    margin-top: -2em;
    margin-right: 8px;
  }
}
